From: v-altruo at microsoft dot com Operating system: Windows Server 2012 R2 PHP version: 7.4.0RC4 Package: Testing related Bug Type: Bug Bug description:Opcache enabled but fails opcache_enabled check
Description: ------------ Test only fails for this windows operating system for x86 TS build with opcache enabled. Failed Test: ext\opcache\tests\001_cli.phpt Test script: --------------- --TEST-- 001: O+ works in CLI --INI-- opcache.enable=1 opcache.enable_cli=1 opcache.file_cache_only=0 --SKIPIF-- <?php require_once('skipif.inc'); ?> --FILE-- <?php $config = opcache_get_configuration(); $status = opcache_get_status(); var_dump($config["directives"]["opcache.enable"]); var_dump($config["directives"]["opcache.enable_cli"]); var_dump($status["opcache_enabled"]); ?> --EXPECT-- bool(true) bool(true) bool(true) Expected result: ---------------- bool(true) bool(true) bool(true) Actual result: -------------- bool(true) bool(true) bool(false) -- Edit bug report at https://bugs.php.net/bug.php?id=78723&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=78723&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=78723&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=78723&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=78723&r=needscript Try newer version: https://bugs.php.net/fix.php?id=78723&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=78723&r=support Expected behavior: https://bugs.php.net/fix.php?id=78723&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=78723&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=78723&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=78723&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=78723&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=78723&r=dst IIS Stability: https://bugs.php.net/fix.php?id=78723&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=78723&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=78723&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=78723&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=78723&r=mysqlcfg