[PATCH] unregister_shutdown_function()

From: Date: Mon, 20 Jun 2011 06:36:41 +0000
Subject: [PATCH] unregister_shutdown_function()
Groups: php.internals 
Request: Send a blank email to internals+get-53373@lists.php.net to get a copy of this message
Hi, This patch implements unregister_shutdown_function(), which removes a function already registered with register_shutdown_function(). It resolves request #53702 (according to google, not sure if it's still active) and I've thought it a curious absence for a while. The patch (against trunk) is at: http://spellign.com/patches/php-trunk-unregister_shutdown_function.patch N.B. I don't return from the apply func with ZEND_HASH_APPLY_STOP when it matches because it's also possible to register the same function twice (maybe a bug?) Regards, Arpad

« previous php.internals (#53373) next »