Re: [PHP-DEV] PHP 4.0 Bug #3634: arrays in list From: Adam Trachtenberg (adam <email protected>)
Date: 02/26/00

On 26 Feb 2000 faisal <email protected> wrote:

> list ( $z , $x[] , $x[] ) = array ( "blah" , 1 , 2 );
> print "$z = $x[0] = $x[1]";
>
>
> PHP 4b4 pl1:
> blah = 2 = 1 (should be: blah = 1 = 2)
>
>
> PHP 4b3:
> blah = 1 = 2
>
>
> Let me know when its stabbed to death! ;-)

I believe Andi posted about two weeks back that list() is not guaranteed
to assign values in any well-defined order.

-adam

-- 
/ adam maccabee trachtenberg | visit college life online \
\ adam <email protected>           | http://www.student.com    /

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