|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[1999-12-31 07:56 UTC] andi at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 03:00:01 2025 UTC |
The following works with PHP3 and used to work with PHP4. You now get an endless loop : <?php $i = 10; do { if ($i > 0) { echo $i . " is > 0 \n"; continue; } else { echo $i . " is <= 0\n"; } } while (--$i > 0); ?>