note 104018 deleted from function.array-walk-recursive by danbrown

From: Date: Tue, 17 May 2011 16:59:04 +0000
Subject: note 104018 deleted from function.array-walk-recursive by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179823@lists.php.net to get a copy of this message
Note Submitter: Fausto Filho ---- Guys, If you intend to use Rob's recursive function to extract the last key value of an array, don't forget to insert a currency sign ($) signal before "$output" at 7th line. This value must be a variable, and if you forgot to assign this signal, your code won't work, displaying an error like this: Parse error: syntax error, unexpected ')', expecting T_PAAMAYIM_NEKUDOTAYIM in /home/ffilho/www/temp/arraywalk.php on line 7 I've lost several minutes until discovery this. Hope this info be useful for someone.

« previous php.notes (#179823) next »