cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo parsestring.xml
| From: | Laurent Laville | Date: | Sat, 12 Apr 2008 14:31:57 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo parsestring.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10653@lists.php.net to get a copy of this message | ||
farell Sat Apr 12 14:31:57 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo/php-compatinfo
parsestring.xml
Log:
parseString() implement now the new key-info "cond_code" about conditional code uses
example was modified
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml
diff -u peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml:1.3
peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml:1.4
--- peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml:1.3 Mon Mar 10 15:54:38
2008
+++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsestring.xml Sat Apr 12 14:31:57 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.php.php-compatinfo.php-compatinfo.parsestring">
<refnamediv>
<refname><function>PHP_CompatInfo::parseString</function></refname>
@@ -128,7 +128,8 @@
<literal>version</literal>,
<literal>extensions</literal>,
<literal>constants</literal>,
- <literal>tokens</literal>
+ <literal>tokens</literal>,
+ <literal>cond_code</literal>
</para>
</refsect1>
@@ -181,6 +182,22 @@
'tokens' =>
array (
),
+ 'cond_code' =>
+ array (
+ 0 => 0,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
+ ),
)
</screen>
That means we need PHP 5.1.3 minimum to run this chunk of code,