|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-02-06 09:06 UTC] sniper@php.net
[2003-02-06 09:29 UTC] sniper@php.net
[2003-03-05 11:43 UTC] brian at n2solvingproblems dot com
[2003-03-05 12:32 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 19:00:02 2025 UTC |
$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.