Y
Hacker News
new
|
ask
|
show
|
jobs
by
wvenable
5722 days ago
In all versions of PHP, callbacks are extremely easy (no eval or variable-variables required). You just have to pass the name of function or method around and use the call_user_func() function to call it.