Re: [PHP4BETA] problems with array_walk

From: Date: Thu, 13 Apr 2000 16:52:37 +0000
Subject: Re: [PHP4BETA] problems with array_walk
References: 1 2 3 4 5 6 7 8 9  Groups: php.version4 
Request: Send a blank email to php-version4+get-13513@lists.php.net to get a copy of this message
On Thu, 13 Apr 2000, Sergio Garcia Murillo wrote: > I think it's quite odd.. > so why not make the array_walk reset by default and add an optional > parameter to > set it not to reset?? and what about a reverse_array_walk?? :) I can certainly change array_walk() to reset the array automatically. If no one objects, I'll do it by the end of the day. As far as reverse_array_walk() - it's unnecessary. Use array_walk(array_reverse($array), "func")) instead. -Andrei * Life may be expensive, but it includes an annual free trip around the sun. *

« previous php.version4 (#13513) next »