From:             [EMAIL PROTECTED]
Operating system: doesn\'t matter
PHP version:      4.0.4pl1
PHP Bug Type:     *Function Specific
Bug description:  value function_name is changed

when you call the function call_user_func_array, the value 
of the first parameter is changed hardcore to lowercase so 
every reference to this value is changed too. e.g.

$String = "TEstFunction";
$Function= $String;

call_user_func_array($Function, array("a","b"));

echo $String." ".$Function;

will echo:
testfunction testfunction

this is really ugly if you use the string afterwards for 
file-issues or variable-issues where the spelling does 
matter ;-(

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to