|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-05-20 04:38 UTC] hholzgra at cvs dot php dot net
[2000-05-20 07:41 UTC] hholzgra at cvs dot php dot net
[2000-06-13 05:59 UTC] andrei at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
<?php $test = array('one','two','three'); reset(test); /* ** The above reset() causes script execution to fail, no output from script. ** This was hard to find when buried in large script with no output to debug. ** Produces the following warning in PHP3 ** Warning: Cannot pass expression as argument 1 by reference */ while(list($key,$value) = each($test)) { echo "$key => $value<br>\n"; } ?>