From what i've observed, call_user_func() does everything this funciton does and a little more. I made a pretty good example call_user_func()'s usage with object instances and figured it might be useful here:

<?php

/**

This is a demonstration of 2 neat features of PHP

* passing array arguments in as a big array, and using += to assign defaults to missing values This would allow for function calls that more closely mimick thoes made in javascript using JSON, with enough work, it could be almost identical using associative arrays * function callbacks within a class to global instances of other classes This allows you pass a function callback to an object early on, and hold off its execution until later in the program (say during page outputing after everything has been setup)

$Test = call_user_func(array('Test', 'getInstance'), array('runCallback' => array($r, 'run'), 'distance' => 15));// should work as expected$Test->callRunner(); // should throw an error for trying to use this during a static call to Speaker::speak() because of the default$Test->callSpeaker();