Bug #76933 [Opn]: Different behaviour with opcache on
| From: | nikic@php.net | Date: | Wed, 26 Sep 2018 08:38:46 +0000 |
| Subject: | Bug #76933 [Opn]: Different behaviour with opcache on | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217239@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76933&edit=1
ID: 76933
Updated by: nikic@php.net
Reported by: alex dot a dot pott at gmail dot com
Summary: Different behaviour with opcache on
Status: Open
Type: Bug
Package: opcache
Operating System: OSX
PHP Version: 7.3.0RC1
Block user comment: N
Private report: N
New Comment:
This may be due to bug #76711, so the upcoming RC2 might resolve this.
Previous Comments:
------------------------------------------------------------------------
[2018-09-26 08:35:53] alex dot a dot pott at gmail dot com
Description:
------------
Turning on opcache causes tests to fail. We are seeing this with Drupal see https://www.drupal.org/project/drupal/issues/3001920.
Local testing sees a different bug than we're seeing on drupal.org and this potentially narrows
it down to something occurring in symfony/yaml which is a bit easier to reproduce. See test script
for instructions on how to.
Test script:
---------------
git clone https://github.com/symfony/symfony.git
cd symfony
composer install
php ./phpunit src/Symfony/Component/Yaml/
Running the tests with the following opcache on in CLI causes them to fail. This does not happen on
PHP7.2.
My opcache settings:
opcache.enable=1
opcache.enable_cli=1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76933&edit=1