cvs: phpdoc /en/reference/tokenizer/functions token-get-all.xml

From: Date: Fri, 30 May 2003 12:04:48 +0000
Subject: cvs: phpdoc /en/reference/tokenizer/functions token-get-all.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354072@lists.php.net to get a copy of this message
didou Fri May 30 08:04:48 2003 EDT Modified files: /phpdoc/en/reference/tokenizer/functions token-get-all.xml Log: correcting example Index: phpdoc/en/reference/tokenizer/functions/token-get-all.xml diff -u phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.3 phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.4 --- phpdoc/en/reference/tokenizer/functions/token-get-all.xml:1.3 Thu Feb 6 10:07:51 2003 +++ phpdoc/en/reference/tokenizer/functions/token-get-all.xml Fri May 30 08:04:48 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="function.token-get-all"> <refnamediv> <refname>token_get_all</refname> @@ -19,13 +19,13 @@ string representation of that token in the source code. </para> <example> - <title><function>token_get_all</function> example</title> + <title><function>token_get_all</function> example</title> <programlisting role="php"> <![CDATA[ <?php - $tokens = token_get_all(";"); // => array(";"); - $tokens = token_get_all("foreach") // => array(T_FOREACH => "foreach"); - $tokens = token_get_all("/* comment */") // => array(T_ML_COMMENT => "/* comment */"); + $tokens = token_get_all(";"); // => array(";") + $tokens = token_get_all("foreach"); // => array(T_FOREACH => "foreach") + $tokens = token_get_all("/* comment */"); // => array(T_ML_COMMENT => "/* comment */") ?> ]]> </programlisting>

« previous php.doc (#969354072) next »