ID: 17207 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open -Bug Type: Unknown/Other Function +Bug Type: Feature/Change Request Operating System: Any PHP Version: 4.1.2 New Comment:
This is not supposed to work at all, I'm making this a feature request. Derick Previous Comments: ------------------------------------------------------------------------ [2002-05-14 08:50:30] [EMAIL PROTECTED] When calling a function with call_user_func_array, if one of the parameters is not set, the trailing hash values are assigned to the wrong parameters. function test( $a, $b, $c ) { echo "|$a:$b:$c|"; } $aParams = array( "a" => 1, "c" => 3 ); call_user_func_array( "test", $aParams ); The output I get is |1:3:| ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=17207&edit=1