Au Contraire:
Though I offered up the request for reverse_array, the code actually looks
for array_reverse, and works on the newer Windows platform, but not on the
older version loaded on the production Unix server.

So yes, I got the name reversed, but no, getting that correct in the email
would not make the code work.
But the array_reverse_priv is in place and working.

See www.bcsynod.org for an example.

Until next ....

Tim Lofstrom
M.C.S.E. but not E. in Canada-----Original Message-----
From: Paul Meagher [mailto:[EMAIL PROTECTED]]
Sent: 13 May 2001 06:04
To: [EMAIL PROTECTED]; #[EMAIL PROTECTED]
Subject: Re: [PHP-WIN] RE: New function help


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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to