Bug #75255 [Opn->Fbk]: Request hangs and not finish

From: Date: Mon, 25 Sep 2017 23:03:30 +0000
Subject: Bug #75255 [Opn->Fbk]: Request hangs and not finish
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211355@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75255&edit=1 ID: 75255 Updated by: cmb@php.net Reported by: hmayak dot tigranyan at gmail dot com Summary: Request hangs and not finish -Status: Open +Status: Feedback Type: Bug Package: *General Issues Operating System: ubuntu14.04.1 PHP Version: 7.1.9 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: > If disable opcode than it work fine. Do you mean OPcache? If so, please change the status to "open", and the package to "Opcache". Previous Comments: ------------------------------------------------------------------------ [2017-09-25 19:14:20] hmayak dot tigranyan at gmail dot com 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75255&edit=1

« previous php.bugs (#211355) next »