Array

“a set of items, in some determined order, that can be added to/removed from/shifted around.”

Eval

“Eval, short for evaluation, is the act of executing code inside of a running process. This means you modify the code that is currently executing without having to restart whatever you’re doing.”

Function

A function is a routine that returns a value” – Code Complete, 2nd Edition

Magic Methods

Methods are functions inside of classes, magic methods are called automatically by the interpreter/compiler under specific conditions.

In PHP all magic methods are prefaced with double underscores, e.g. __construct

Method

A method is a function declared inside a class.

Procedure

“…a procedure is a routine that does not [have a return value]” – Code Complete, 2nd Ed.

REPL

Read-Eval-Print-Loop

REPL

“stands for Read-Eval-Print-Loop…the gist of it is that it’s a little prompt that you can type code in and when [you] submit that code, it evaluates it, prints the result, and lets you do it again.”