In JavaScript, you can define anonymous functions that are executed immediately:
(function () { /* do something */ })()
Can you do somethin
Well of course you can use call_user_func, but there's still another pretty simple alternative: