betz Mon Oct 3 07:27:48 2005 EDT
Modified files:
/phpdoc/en/reference/funchand/functions register-tick-function.xml
Log:
warning about ZTS, declare is not a function
http://cvs.php.net/diff.php/phpdoc/en/reference/funchand/functions/register-tick-function.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/funchand/functions/register-tick-function.xml
diff -u phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.9
phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.10
--- phpdoc/en/reference/funchand/functions/register-tick-function.xml:1.9
Thu Jun 23 12:53:27 2005
+++ phpdoc/en/reference/funchand/functions/register-tick-function.xml Mon Oct
3 07:27:47 2005
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
<!-- splitted from ./en/functions/funchand.xml, last change in rev 1.12 -->
<refentry id="function.register-tick-function">
<refnamediv>
@@ -19,7 +19,7 @@
<simpara>
Registers the function named by <parameter>func</parameter> to be
executed when a <link
- linkend="control-structures.declare">tick</link> is
+ linkend="control-structures.declare.ticks">tick</link> is
called. Also, you may pass an array consisting of an object and a
method as the <parameter>func</parameter>.
</simpara>
@@ -40,8 +40,15 @@
</programlisting>
</example>
</para>
+ <warning>
+ <simpara>
+ <function>register_tick_function</function> should not be used with
+ threaded webserver modules. Ticks are not working in ZTS mode and may
+ crash your webserver.
+ </simpara>
+ </warning>
<para>
- See also <function>declare</function> and
+ See also <link linkend="control-structures.declare">declare</link> and
<function>unregister_tick_function</function>.
</para>
</refsect1>