“a set of items, in some determined order, that can be added to/removed from/shifted around.”
“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.”
“A function is a routine that returns a value” – Code Complete, 2nd Edition
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
A method is a function declared inside a class.
“…a procedure is a routine that does not [have a return value]” – Code Complete, 2nd Ed.
“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.”