Created
October 11, 2012 06:36
-
-
Save bobagold/3870607 to your computer and use it in GitHub Desktop.
javascript-style closure scope in php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
call_user_func(function() { ... }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
found here http://www.php.net/manual/en/functions.anonymous.php#105385