Bug #70357 [Com]: OPcache status is unavailable in shutdown
| From: | viktor at szepe dot net | Date: | Tue, 25 Aug 2015 12:21:29 +0000 |
| Subject: | Bug #70357 [Com]: OPcache status is unavailable in shutdown | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-195502@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70357&edit=1
ID: 70357
Comment by: viktor at szepe dot net
Reported by: viktor at szepe dot net
Summary: OPcache status is unavailable in shutdown
Status: Open
Type: Bug
Package: opcache
Operating System: Debian 8.1
PHP Version: 7.0.0RC1
Block user comment: N
Private report: N
New Comment:
https://github.com/zendtech/ZendOptimizerPlus/issues/217
Previous Comments:
------------------------------------------------------------------------
[2015-08-25 12:20:52] viktor at szepe dot net
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 this bug report at https://bugs.php.net/bug.php?id=70357&edit=1