...

View Full Version : How can I test to see if the ticks directive has been declared?



mlse
01-07-2010, 05:06 PM
The ticks directive is declared as shown here: http://uk2.php.net/manual/en/control-structures.declare.php

I thought perhaps that register_tick_function (http://uk2.php.net/manual/en/function.register-tick-function.php) might return FALSE if ticks had not been correctly declared, but it doesn't. It seems only to return FALSE if it can't find the function being registered. It will return TRUE even in the absence of the ticks directive.

How can I test to see if ticks has been declared?



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum