Re: Why is this array_walk_recursive action not working?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



FeIn,

Thank you for responding.


> what did you expect to happen when you call array_walk_recursive?


What I don't understand is why it did not append to the string as it
walked through each key/value pair.

It seems like even though the variable inside the function called by
array_walk_recursive has the same name as a global variable, it gets
treated as if it only has local scope and nothing done to it applies to
the global variable.

-- 
Dave M G

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux