|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-09-25 23:03 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2017-09-25 23:03 UTC] cmb@php.net
[2017-09-26 06:32 UTC] hmayak dot tigranyan at gmail dot com
-Status: Feedback
+Status: Open
-Package: *General Issues
+Package: opcache
[2017-09-26 06:32 UTC] hmayak dot tigranyan at gmail dot com
[2017-09-26 11:08 UTC] cmb@php.net
-Status: Assigned
+Status: Open
-Assigned To: cmb
+Assigned To:
[2017-09-27 14:18 UTC] dmitry@php.net
[2017-09-27 14:18 UTC] dmitry@php.net
-Status: Open
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 22:00:01 2025 UTC |
Description: ------------ On Ubuntu installed php7.1.9 (PHP Version 7.1.9-1+ubuntu14.04.1+deb.sury.org+1) no special configuration. Have one file and request to that file not return result, apache version is Apache/2.4.7 (Ubuntu). If I chnage anything in code it work properly. If disable opcode than it work fine. Test script: --------------- <?php class PlanService { public function generatePlanImage() { if ($abc > 5) { $abc = 5; } for ($row = 0; $row < $abc; $row++) { for ($col = 0; $col < $numCols; $col++) { $this->getPossibleRatio( $abc); } } } public function getPossibleRatio( $abc) { } } var_dump('worked');exit; Expected result: ---------------- expected to get response Actual result: -------------- apache not return any result,CPU is going to 99% and request hangs.