zendtech / ZendOptimizerPlus

Other
914 stars 142 forks source link

OPcache status is unavailable in shutdown #217

Closed szepeviktor closed 9 years ago

szepeviktor commented 9 years ago
function o1_opcache() {
    var_export( opcache_get_status() ); // false
}
register_shutdown_function( 'o1_opcache' );

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

laruence commented 9 years ago

I can not reproduce this with php7, anyway, this repo is only for the supporting of using opcache with php5.4-

since php5.5, php already have bundled opcache, which is you are playing with. so , you should report bugs of that opcache in bugs.php.net or issues on github.com/php/php-src

thanks

szepeviktor commented 9 years ago

Thank you. https://bugs.php.net/bug.php?id=70357