|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-08-25 15:48 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2018-08-25 15:48 UTC] requinix@php.net
[2018-08-25 15:49 UTC] fractalesque at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 06:00:01 2025 UTC |
Description: ------------ Changing the order of execution for the condition variable will cause the while loop to execute forever Test script: --------------- $index = 0; $max = 10; while($index <= $max) { if($index == 5) { continue; } echo "step: {$index} / {$max} \r\n"; $index++; } Expected result: ---------------- step: 0 / 10 step: 1 / 10 step: 2 / 10 step: 3 / 10 step: 4 / 10 step: 6 / 10 step: 7 / 10 step: 8 / 10 step: 9 / 10 step: 10 / 10 Actual result: -------------- Script execution is terminated due to hitting the 30 seconds execution limit