ID: 22088
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Open
+Status: Assigned
Bug Type: Arrays related
Operating System: Linux, Windows
-PHP Version: 4.3.0
+PHP Version: 4.3.1-dev
-Assigned To:
+Assigned To: sniper
New Comment:
I'm checking this out..(verified with 4.3.1-dev)
Previous Comments:
------------------------------------------------------------------------
[2003-02-06 03:43:21] [EMAIL PROTECTED]
$m=array('a','b');
$last = array_shift ($m);
$m[]='c';//or array_push ($m,'c');
print_r($m);
in 4.3.0 output is:
Array ( [0] => b [2] => c )
In previous php versions output was:
Array ( [0] => b [1] => c )
As yuo see, index for element 'c' differs.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22088&edit=1