note 28321 added to function.unregister-tick-function
| From: | xxoes at rack1 dot php dot net | Date: | Thu, 09 Jan 2003 07:22:36 +0000 |
| Subject: | note 28321 added to function.unregister-tick-function | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41892@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
--
http://www.php.net/manual/en/function.unregister-tick-function.php
http://master.php.net/manage/user-notes.php?action=edit+28321
http://master.php.net/manage/user-notes.php?action=delete+28321
http://master.php.net/manage/user-notes.php?action=reject+28321