> 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
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
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";
3 matches
Mail list logo