ID:               22088
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Arrays related
 Operating System: Linux, Windows
 PHP Version:      4.3.1-dev
 Assigned To:      sniper
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.


Previous Comments:
------------------------------------------------------------------------

[2003-02-06 09:06:37] [EMAIL PROTECTED]

I'm checking this out..(verified with 4.3.1-dev)


------------------------------------------------------------------------

[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

Reply via email to