Anonymous Functions Speak Volumes in Code
ADAPTING AND PERFORMING WITH VARIABLE FUNCTIONS
PHP – P38:VARIABLE FUNCTIONS
PHP supports the concept of variable functions. What that means is that you can append parentheses to a variable and use it as a function call.
Anonymous Functions Speak Volumes in Code
PHP – P39: anonymous functions
Anonymous functions, or closures, are functions that seem to cause a lot of stress in people’s lives. Let’s simplify this process. An anonymous function is a function without a name.
DIRECTING CODE FLOW THROUGH THE COMPASS OF ‘USE’
Scope is the variable and method visibility that a certain portion of the program has access to. For example, let’s say that we declare a variable inside of a function (regular or closure). Other functions will not have access to that variable.