Edit report at https://bugs.php.net/bug.php?id=63210&edit=1
ID: 63210 Updated by: larue...@php.net Reported by: qdinar at gmail dot com Summary: cannot continue from included file -Status: Open +Status: Not a bug Type: Bug Package: *General Issues Operating System: linux PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php a php script is a individual scope, like a function, you can not break into another scope from the inner scope. Previous Comments: ------------------------------------------------------------------------ [2012-10-03 14:07:25] qdinar at gmail dot com 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63210&edit=1