PHP: register_tick_function - Manual in Deutsh
PHP: register_tick_function - Manual in French
PHP: register_tick_function - Manual in Polish

You Are At PHP: register_tick_function - Manual Area


recent searches:
include functions , variable functions , post functions...




If you are new to PHP or just need to refresh your skills, this is the place to start. This series of tutorials will give you the basic knowledge you will need to create a simple PHP website.

PHP is a reflective programming language originally designed for producing dynamic web pages.[1] PHP is used mainly in server-side scripting, but can be used from a command line interface or in standalone graphical applications. Textual User Interfaces can also be created using ncurses.

PHP Manual
PrevNext

register_tick_function

(PHP 4 >= 4.0.3, PHP 5)

register_tick_function -- Register a function for execution on each tick

Description

bool register_tick_function ( callback function [, mixed arg [, mixed ...]] )

Registers the given function to be executed when a tick is called.

Parameters

function

The function name as a string, or an array consisting of an object and a method.

arg

...

Return Values

Returns TRUE on success or FALSE on failure.

Examples

Example 1. register_tick_function() example

<?php
// using a function as the callback
register_tick_function('my_function', true);

// using an object->method
$object = new my_class();
register_tick_function(array(&$object, 'my_method'), true);
?>

Notes

Warning

register_tick_function() should not be used with threaded web server modules. Ticks are not working in ZTS mode and may crash your web server.

See Also

declare
unregister_tick_function()

Numizmatyka
Agencja Reklamowa Katowice
analizy
banki kredyty
salon

Another Useful functions:


zend-macro.zend-register-resource | zend-api.zend-unregister-ini-entries | zend-api.zend-unregister-functions | zend-api.zend-u-register-constant | zend-api.zend-register-stringl-constant | zend-api.zend-register-string-constant | zend-api.zend-register-resource | zend-api.zend-register-module | zend-api.zend-register-module-ex | zend-api.zend-register-long-constant | zend-api.zend-register-list-destructors | zend-api.zend-register-list-destructors-ex | zend-api.zend-register-internal-module | zend-api.zend-register-internal-interface | zend-api.zend-register-internal-class | zend-api.zend-register-internal-class-ex | zend-api.zend-register-interfaces | zend-api.zend-register-ini-entries | zend-api.zend-register-functions | zend-api.zend-register-double-constant | zend-api.zend-register-default-classes | zend-api.zend-register-constant | zend-api.zend-register-auto-global | zend-api.zend-ini-register-displayer | zend-api.unregister-ini-entries | zend-api.register-stringl-constant | zend-api.register-string-constant | zend-api.register-main-stringl-constant | zend-api.register-main-string-constant | zend-api.register-main-long-constant | zend-api.register-main-double-constant | zend-api.register-long-constant | zend-api.register-list-destructors | zend-api.register-ini-entries | zend-api.register-ini-displayer | zend-api.register-ini-boolean | zend-api.register-double-constant | streams.php-unregister-url-stream-wrapper | streams.php-stream-filter-unregister-factory | streams.php-stream-filter-register-factory | streams.php-register-url-stream-wrapper | function.xsl-xsltprocessor-register-php-functions | function.xpath-register-ns | function.xpath-register-ns-auto | function.xmlrpc-set-type | function.xmlrpc-server-register-method | function.xmlrpc-server-register-method | function.xmlrpc-server-register-introspection-callback | function.xmlrpc-server-register-introspection-callback | function.xmlrpc-server-destroy | function.w32api-register-function | function.unregister-tick-function | function.stream-wrapper-unregister | function.stream-wrapper-register | function.stream-register-wrapper | function.stream-filter-register | function.spl-autoload-unregister | function.spl-autoload-register | function.simplexml-element-registerxpathnamespace | function.session-unregister | function.session-register | function.session-is-registered | function.register-tick-function | function.register-shutdown-function | function.ircg-register-format-messages | function.http-request-method-unregister | function.http-request-method-register | function.dom-domxpath-registernamespace | function.dom-domdocument-registernodeclass |


PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section.