diff --git a/reference/funchand/functions/register-tick-function.xml b/reference/funchand/functions/register-tick-function.xml index 7635d5b2aa5e..5577bd4b7977 100644 --- a/reference/funchand/functions/register-tick-function.xml +++ b/reference/funchand/functions/register-tick-function.xml @@ -59,12 +59,11 @@ method -$object = new my_class(); -register_tick_function(array($object, 'my_method'), true); +register_tick_function('my_tick_function', true); ?> ]]>