note 28321 deleted from function.unregister-tick-function by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Thu, 09 Jan 2003 09:23:44 +0000 |
| Subject: | note 28321 deleted from function.unregister-tick-function by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41897@lists.php.net to get a copy of this message | ||
If i call unregister_tick_function("foo","with arg"),
is a wrong parameter count for unregister_tick_function().
example:
<?PHP
function ticks($var = NULL) {
echo $var;
}
register_tick_function("ticks","output");
declare(ticks=1) 1;
echo "";
echo "";
unregister_tick_function("ticks","output"); // Wrong parameter count for
unregister_tick_function()
?>
ok:
<?PHP
function ticks($var = NULL) {
echo $var;
}
register_tick_function("ticks","output");
declare(ticks=1) 1;
echo "";
echo "";
unregister_tick_function("ticks"); // OK!
?>
win2k : PHP 4.3.0