Justtechjobs.com Find a programming school near you






Online Campus Both


php-windows | 2001051

RE: [PHP-WIN] RE: New function help From: Tim Lofstrom (tim <email protected>)
Date: 05/13/01

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:paul <email protected>]
Sent: 13 May 2001 06:04
To: php-windows <email protected>; #tim <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" <tim <email protected>>
To: <php-windows <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: php-windows-unsubscribe <email protected>
> For additional commands, e-mail: php-windows-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe <email protected>
For additional commands, e-mail: php-windows-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>

-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe <email protected> For additional commands, e-mail: php-windows-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>