Re: RE: New function help

From: Date: Sun, 13 May 2001 13:03:50 +0000
Subject: Re: RE: New function help
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-7519@lists.php.net to get a copy of this message
There is a builtin array_reverse function in PHP. You just need to reverse the name of the function your were looking for :-) Regards, Paul Meagher ----- Original Message ----- From: "Tim Lofstrom" <tim@outdoorbc.com> To: <php-windows@lists.php.net> Sent: Friday, May 11, 2001 3:22 PM Subject: [PHP-WIN] RE: New function help > Here is my attempt: Any improvements welcomed. > > > function array_reverse_priv ($WorkArray) > { > $CountWorkArray = count($WorkArray) ; > for ($i = 0 ; $i < $CountWorkArray ; ++$i) > { > $NewArray[$i] = array_pop ($WorkArray) ; > } > return $NewArray ; > } > > Until next .... > > Tim Lofstrom > M.C.S.E. > > Original: > > Looking for reverse_array as a user added function. Anyone have it? > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#7519) next »