Skip to content

Instantly share code, notes, and snippets.

@Geraint
Created June 28, 2012 09:57
Show Gist options
  • Save Geraint/3010355 to your computer and use it in GitHub Desktop.
Save Geraint/3010355 to your computer and use it in GitHub Desktop.
Immediately Invoked Function Expression in PHP
call_user_func(function($arg1, $arg2) {
// do stuff
}, $arg1, $arg2);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment