4 ms·
That's why I'm sticking with Python even if Django isn't a perfect fit for me. call_user_func_array(array($object,'method_name'),array($arg1,$arg2,$arg3));
by stevenwei 16y ago
That's why I'm sticking with Python even if Django isn't a perfect fit for me.
call_user_func_array(array($object,'method_name'),array($arg1,$arg2,$arg3));
is literally the most retarded syntax I've ever seen for invoking an object callback, and is indicative of PHP's roots as a non object oriented scripting language.
- code_duck 16y agoNo doubt, the way PHP deals with functions is one of the worst parts about the language. create_function and the rest have been made a bit better, though, with the introduction of anonymous functions in PHP 5.3.
- deleted 16y ago[deleted]