|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #70599 register_tick_function() must invalidate opcache
Submitted: 2015-09-28 14:56 UTC Modified: 2017-06-23 15:38 UTC
From: pustovalov at teddyid dot com Assigned:
Status: Wont fix Package: opcache
PHP Version: 5.6.13 OS: Any
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2015-09-28 14:56 UTC] pustovalov at teddyid dot com
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-23 15:38 UTC]
-Status: Open +Status: Wont fix
 [2017-06-23 15:38 UTC]
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.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Mar 24 00:03:44 2023 UTC