Re: PHP 4.0 Bug #3634: arrays in list

From: Date: Sat, 26 Feb 2000 21:24:17 +0000
Subject: Re: PHP 4.0 Bug #3634: arrays in list
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16055@lists.php.net to get a copy of this message
On 26 Feb 2000 faisal@nasim.org 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@student.net | http://www.student.com /

« previous php.dev (#16055) next »