|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-10-05 04:36 UTC] laruence@php.net
[2012-10-05 04:36 UTC] laruence@php.net
-Status: Open
+Status: Not a bug
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Dec 04 14:00:01 2025 UTC |
Description: ------------ continue from within/inside included php script, that is included in while loop, do not work. error message: "... mod_fcgid: stderr: PHP Fatal error: Cannot break/continue 1 level in ...". Test script: --------------- includeinwhile.php <?php $i=0; while ($i<100){ include('includedinwhile.php'); } echo 'OK, $i='.$i; ?> includedinwhile.php <?php $i+=5; continue; ?> Expected result: ---------------- OK, $i=100