Posted by : Chris London in (Programming, Tutorial)
Anonymous Functions and Closure in PHP
Tagged Under : anonymous, closure, functions, php 5.3
It’s about time that PHP joined the band wagon of anonymous functions. Anonymous functions, also known as closures, are functions with no specified name. These functions are stored in variables and can be passed around. Anonymous functions have been in other programming languages like Javascript, so if you know Javascript then anonymous functions are nothing new.
