On Nov 29, 2007, at 5:30 PM, Jochem Maas wrote:
does this work:? call_user_func_array(array(parent,'doSomething'),$args);
It doesn't work with PHP 4. I was going to try PHP5 on my development machine but I will need to do some configuration editing first.
Here's the exact code I tried: class Walker_NavBar extends Walker { ... function walk($elements, $to_depth) { $args = func_get_args(); ... // call base class implementation return call_user_func_array(array(parent,'walk'),$args); } ...