svn: /phpdoc/en/trunk/reference/funchand/functions/ register-tick-function.xml
| From: | Jakub Vrana | Date: | Wed, 18 May 2011 09:12:09 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/funchand/functions/ register-tick-function.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8142@lists.php.net to get a copy of this message | ||
vrana Wed, 18 May 2011 09:12:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=311173
Log:
Use declare in example
Changed paths:
U phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml
Modified: phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml
===================================================================
--- phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml 2011-05-18 08:43:20 UTC
(rev 311172)
+++ phpdoc/en/trunk/reference/funchand/functions/register-tick-function.xml 2011-05-18 09:12:09 UTC
(rev 311173)
@@ -66,6 +66,8 @@
<programlisting role="php">
<![CDATA[
<?php
+declare(ticks=1);
+
// using a function as the callback
register_tick_function('my_function', true);