Bug #70357 [NEW]: OPcache status is unavailable in shutdown
From: viktor at szepe dot net
Operating system: Debian 8.1
PHP version: 7.0.0RC1
Package: opcache
Bug Type: Bug
Bug description:OPcache status is unavailable in shutdown
Description:
------------
opcache_get_status() returns false in shutdown but not before it.
PHP 7.0.0-dev (cli) (built: Aug 17 2015 19:10:40)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend
Technologies
Test script:
---------------
function o1_opcache() {
var_export( opcache_get_status() ); // false
}
register_shutdown_function( 'o1_opcache' );
Expected result:
----------------
OPcache status
Actual result:
--------------
false
--
Edit bug report at https://bugs.php.net/bug.php?id=70357&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=70357&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=70357&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=70357&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=70357&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=70357&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=70357&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=70357&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=70357&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=70357&r=support
Expected behavior: https://bugs.php.net/fix.php?id=70357&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=70357&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=70357&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=70357&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=70357&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=70357&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=70357&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=70357&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=70357&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=70357&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=70357&r=mysqlcfg
Thread (12 messages)
- viktor at szepe dot net
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown
- laruence@php.netBug #70357 [Opn]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Opn]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown
- kalle@php.netBug #70357 [Opn]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Opn]: OPcache status is unavailable in shutdown
- cmb@php.netBug #70357 [Opn->Fbk]: OPcache status is unavailable in shutdown
- viktor at szepe dot netBug #70357 [Com]: OPcache status is unavailable in shutdown