Anonymous functions that execute immediately

taileaxgota

New Member
In javascript you can define anonymous functions that are executed immediately:\[code\](function(){ /* do something */ })()\[/code\]Can you do something like that in PHP?
 
Back
Top