2015-08-03, 12:00:33
nope, just ideas not a hint of engineering or thoughts.
Your best bet for 5.2 is variable functions and extract() and create or callout the functions if they are not closures or classes.
or use variable functions and dynamically call them $$funcname, not sure what the best option is, i have not been following the conversation.
Or similar to how javascript handles event functions
on(event,function(e){...})
on(event,'funcname')
function.apply(this,$args)
or functionname(this)
call_user_func_array("functionname", array(this, rest of args));
myfuncname(this){
}
Your best bet for 5.2 is variable functions and extract() and create or callout the functions if they are not closures or classes.
or use variable functions and dynamically call them $$funcname, not sure what the best option is, i have not been following the conversation.
Or similar to how javascript handles event functions
on(event,function(e){...})
on(event,'funcname')
function.apply(this,$args)
or functionname(this)
call_user_func_array("functionname", array(this, rest of args));
myfuncname(this){
}