|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75370 Webserver hangs on valid PHP text
Submitted: 2017-10-12 22:34 UTC Modified: 2017-10-12 23:24 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: ksours at internetbrands dot com Assigned:
Status: Closed Package: opcache
PHP Version: 7.2.0RC4 OS: CentOS Linux release 7.4
Private report: No CVE-ID: None
 [2017-10-12 22:34 UTC] ksours at internetbrands dot com
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:
function test()
  $success = true;
  $success = $success AND true;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-12 23:24 UTC] ksours at internetbrands dot com
-Operating System: entOS Linux release 7.4 +Operating System: CentOS Linux release 7.4
 [2017-10-12 23:24 UTC] ksours at internetbrands dot com
Fixed typo in OS
 [2017-10-13 10:19 UTC]
Automatic comment on behalf of
Log: Fixed bug #75370 (Webserver hangs on valid PHP text)
 [2017-10-13 10:19 UTC]
-Status: Open +Status: Closed
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 09:01:27 2024 UTC