Req #70599 [Opn->Wfx]: register_tick_function() must invalidate opcache
| From: | nikic@php.net | Date: | Fri, 23 Jun 2017 15:38:54 +0000 |
| Subject: | Req #70599 [Opn->Wfx]: register_tick_function() must invalidate opcache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-209655@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70599&edit=1
ID: 70599
Updated by: nikic@php.net
Reported by: pustovalov at teddyid dot com
Summary: register_tick_function() must invalidate opcache
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: opcache
Operating System: Any
PHP Version: 5.6.13
Block user comment: N
Private report: N
New Comment:
This is related to declare(ticks) rather than register_tick_function().
As of PHP 7.0 declare(ticks) is strictly per-file and no longer leaks into subsequent compilation
units. As such, this is no longer an issue.
Previous Comments:
------------------------------------------------------------------------
[2015-09-28 14:56:34] pustovalov at teddyid dot com
Description:
------------
When registering tick handler while opcache is ON, only the touched file with
register_tick_function() is recompiled, whilst all of the includes are still get from the cache and
thus no calls for tick handler are inserted in between their functions.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70599&edit=1