php.net |  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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: pustovalov at teddyid dot com
New email:
PHP Version: OS:

 

 [2015-09-28 14:56 UTC] 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.
 


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-06-23 15:38 UTC] nikic@php.net
-Status: Open +Status: Wont fix
 [2017-06-23 15:38 UTC] nikic@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 14:01:28 2024 UTC