|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2012-04-11 14:52 UTC] laruence@php.net
[2012-04-11 15:07 UTC] laruence@php.net
-Status: Open
+Status: Wont fix
[2015-10-12 09:20 UTC] martin dot keckeis1 at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 21 04:00:02 2025 UTC |
Description: ------------ Hi, while I'm trying call unregister_tick_function() in function executed by register_tick_function(), I get a "Warning: unregister_tick_function(): Unable to delete tick function executed at the moment" I don't know, if this is a bug, but it may be very useful to call unregister like this. Test script: --------------- <?php declare(ticks = 1); function a() { echo "a"; unregister_tick_function("a"); } register_tick_function("a");