|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1998-03-21 06:36 UTC] zeev
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 03 04:00:01 2025 UTC |
function bug() { $a["a"]="1"; $a["b"]="2"; $a["c"]="3"; /*>>>*/ unset($a["b"]); for (reset($a);current($a);next($a)) print current($a); } Previous function outputs only "1" but IMHO should "13". Note - { print $a["c"]; } still outputs "3"! P.S.: Current version is still pretty buggy - SEGV quite often but only randomly. :-( Compiled with apache-1.2.5-ssl and Postgres95.