|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-05-20 08:20 UTC] mike@php.net
-Status: Open
+Status: Feedback
[2010-05-20 08:20 UTC] mike@php.net
[2010-05-20 09:57 UTC] pim at lemonbit dot com
[2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 05:00:01 2025 UTC |
Description: ------------ Test script is pretty self-explanatory: even though an exception is thrown a while(true) loop gets exectued afterwards. Test script: --------------- <?php echo "Throw exception"; throw new Exception(); echo "This should not be printed, and is not."; while(true) { echo 'This should not be executed, but is!' . "\n"; } ?> Expected result: ---------------- We did not expected the while loop to execute. Actual result: -------------- The while loop executed.