|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-08-05 13:59 UTC] nikic@php.net
-Assigned To:
+Assigned To: nikic
[2016-08-05 13:59 UTC] nikic@php.net
[2016-08-05 14:33 UTC] nikic@php.net
[2016-08-05 14:33 UTC] nikic@php.net
-Status: Assigned
+Status: Closed
[2016-10-17 10:10 UTC] bwoebi@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 18:00:01 2025 UTC |
Description: ------------ Run the test script below with: php -n -d zend_extension=opcache.so -d opcache.enable_cli=1 test.php and see php (opcache) enter an infinite loop that only kill -9 can break (note that the script is meaningless but it triggers the behavior I also had with a real longer script) Test script: --------------- <?php class foo { function bar() { $b = array(); foreach ($a as $a) { foreach ($b as $k => $v) { } $b[$k] = $v; } } } Expected result: ---------------- - Actual result: -------------- php enters an infinite loop that only kill -9 can break