Bug #70357 [Opn]: OPcache status is unavailable in shutdown

From: Date: Wed, 26 Aug 2015 06:13:59 +0000
Subject: Bug #70357 [Opn]: OPcache status is unavailable in shutdown
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-195518@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
 Updated by:         laruence@php.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:

I can not reproduce this.... 

$ sapi/cli/php /tmp/1.php
array (
  'opcache_enabled' => true,
  'cache_full' => false,
  'restart_pending' => false,
  'restart_in_progress' => false,
  'memory_usage' =>
   .........


thanks


Previous Comments:
------------------------------------------------------------------------
[2015-08-25 12:21:29] viktor at szepe dot net

https://github.com/zendtech/ZendOptimizerPlus/issues/217

------------------------------------------------------------------------
[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


Thread (12 messages)

« previous php.bugs (#195518) next »