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

From: Date: Tue, 26 Sep 2017 06:32:15 +0000
Subject: Bug #75255 [Fbk->Opn]: Request hangs and not finish
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211356@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
 User updated by:    hmayak dot tigranyan at gmail dot com
 Reported by:        hmayak dot tigranyan at gmail dot com
 Summary:            Request hangs and not finish
-Status:             Feedback
+Status:             Open
 Type:               Bug
-Package:            *General Issues
+Package:            opcache
 Operating System:   ubuntu14.04.1
 PHP Version:        7.1.9
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Changed package to Opcache


Previous Comments:
------------------------------------------------------------------------
[2017-09-25 23:03:27] cmb@php.net

> If disable opcode than it work fine.

Do you mean OPcache? If so, please change the status to "open", and the package
to "Opcache".

------------------------------------------------------------------------
[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


Thread (5 messages)

« previous php.bugs (#211356) next »