Bug #75370 [NEW]: Webserver hangs on valid PHP text
| From: | ksours at internetbrands dot com | Date: | Thu, 12 Oct 2017 22:34:16 +0000 |
| Subject: | Bug #75370 [NEW]: Webserver hangs on valid PHP text | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-211663@lists.php.net to get a copy of this message | ||
From: ksours at internetbrands dot com
Operating system: entOS Linux release 7.4
PHP version: 7.2.0RC4
Package: opcache
Bug Type: Bug
Bug description:Webserver hangs on valid PHP text
Description:
------------
The symptoms are similar to 75255, though the code to reproduce is
different. We upgraded to RC4 and are still experiencing the problem.
We get either an indefinite hang (the behavior from the test script) or
an invalid server response error depending on what code is included.
This only happens when the OPCache is active. I am also able to
reproduce on Windows7 against PHP7.2b3 so it may not be strictly a
Unix/Centos issue.
Note that like 75255 minor and random changes to the code make the
problem go away.
Test script:
---------------
<?php
function test()
{
$success = true;
$success = $success AND true;
}
--
Edit bug report at https://bugs.php.net/bug.php?id=75370&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75370&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75370&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75370&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75370&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75370&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75370&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75370&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75370&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75370&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75370&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75370&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75370&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75370&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75370&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75370&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75370&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75370&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75370&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75370&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75370&r=mysqlcfg