Skip to content

Instantly share code, notes, and snippets.

@eXeDK
Last active August 29, 2015 14:18
Show Gist options
  • Save eXeDK/9863d9fadc0588c3ed53 to your computer and use it in GitHub Desktop.
Save eXeDK/9863d9fadc0588c3ed53 to your computer and use it in GitHub Desktop.
Simple Closure object
$testLocalFunction = function() {
echo 'Hello World<br/>';
};
echo var_dump($testLocalFunction); // object(Closure)[1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment