RE: [PHP] call_user_method_array

2003-01-01 Thread Boget, Chris
> On my system, the function works as expected (at least as I > understand it): myFunc receives the parameters "Hello!" and > array("this"=>"that"), which is what you pass to it in the > first place. See, that's not what I'm getting... :| > Were you expecting it to expand $myArrayVar into ind

Re: [PHP] call_user_method_array

2003-01-01 Thread Marco Tabini
Chris-- On my system, the function works as expected (at least as I understand it): myFunc receives the parameters "Hello!" and array("this"=>"that"), which is what you pass to it in the first place. Were you expecting it to expand $myArrayVar into individual parameters? If so, that's not how it w

[PHP] call_user_method_array

2003-01-01 Thread Boget, Chris
How does this function really work? I've been beating my head against the wall for the last 8 hours trying to figure it out. This is what I'm trying and it isn't working: {this is a very simplified version} class MyClass { function myFunc( $stringVar, $arrayVar ) { echo "$stringVar\n";