Function handling 函数
在线手册:中文 英文
PHP手册

unregister_tick_function

(PHP 4 >= 4.0.3, PHP 5)

unregister_tick_functionDe-register a function for execution on each tick

说明

void unregister_tick_function ( string $function_name )

De-registers the function named by function_name so it is no longer executed when a tick is called.

参数

function_name

The function name, as a string.

返回值

没有返回值。

参见


Function handling 函数
在线手册:中文 英文
PHP手册
PHP手册 - N: De-register a function for execution on each tick

用户评论:

rob dot eyre at gmail dot com (22-Jul-2011 01:22)

Note that unregister_tick_function() can also accept a callback in the form of an array (either static, like array($className, $methodName) or instance, like array(&$this, $methodName)).

It cannot accept an anonymous function, however.