Bug #76933 [NEW]: Different behaviour with opcache on
From: alex dot a dot pott at gmail dot com
Operating system: OSX
PHP version: 7.3.0RC1
Package: opcache
Bug Type: Bug
Bug description:Different behaviour with opcache on
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 bug report at https://bugs.php.net/bug.php?id=76933&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=76933&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=76933&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=76933&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=76933&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=76933&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=76933&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=76933&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=76933&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=76933&r=support
Expected behavior: https://bugs.php.net/fix.php?id=76933&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=76933&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=76933&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=76933&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=76933&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=76933&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=76933&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=76933&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=76933&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=76933&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=76933&r=mysqlcfg
Thread (4 messages)
- alex dot a dot pott at gmail dot com