cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo parsedir.xml
| From: | Laurent Laville | Date: | Sat, 12 Apr 2008 14:08:28 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo/php-compatinfo parsedir.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-10650@lists.php.net to get a copy of this message | ||
farell Sat Apr 12 14:08:28 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo/php-compatinfo parsedir.xml
Log:
parseDir() implement now the new key-info "cond_code" about conditional code uses
example was modified to match it
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml?r1=1.3&r2=1.4&diff_format=u
Index: peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml
diff -u peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml:1.3
peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml:1.4
--- peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml:1.3 Mon Mar 10 15:54:38 2008
+++ peardoc/en/package/php/php-compatinfo/php-compatinfo/parsedir.xml Sat Apr 12 14:08:28 2008
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="package.php.php-compatinfo.php-compatinfo.parsedir">
<refnamediv>
<refname><function>PHP_CompatInfo::parseDir</function></refname>
@@ -161,7 +161,8 @@
<literal>version</literal>,
<literal>extensions</literal>,
<literal>constants</literal>,
- <literal>tokens</literal>
+ <literal>tokens</literal>,
+ <literal>cond_code</literal>
</para>
</refsect1>
@@ -250,6 +251,22 @@
10 => 'catch',
11 => 'final',
),
+ 'cond_code' =>
+ array (
+ 0 => 2,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
+ ),
'PHP_CompatInfo/tests/parseDir/extensions.php' =>
array (
'ignored_functions' =>
@@ -277,6 +294,61 @@
'tokens' =>
array (
),
+ 'cond_code' =>
+ array (
+ 0 => 2,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
+ ),
+ ),
+ 'PHP_CompatInfo/tests/parseDir/phpinfo.php' =>
+ array (
+ 'ignored_functions' =>
+ array (
+ ),
+ 'ignored_extensions' =>
+ array (
+ ),
+ 'ignored_constants' =>
+ array (
+ ),
+ 'max_version' => '',
+ 'version' => '4.0.0',
+ 'extensions' =>
+ array (
+ ),
+ 'constants' =>
+ array (
+ ),
+ 'tokens' =>
+ array (
+ ),
+ 'cond_code' =>
+ array (
+ 0 => 0,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
+ ),
),
'PHP_CompatInfo/tests/parseDir/PHP5/tokens.php5' =>
array (
@@ -312,6 +384,22 @@
10 => 'catch',
11 => 'final',
),
+ 'cond_code' =>
+ array (
+ 0 => 0,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
+ ),
),
'PHP_CompatInfo/tests/parseDir/PHP5/upload_error.php' =>
array (
@@ -344,28 +432,21 @@
array (
0 => 'throw',
),
- ),
- 'PHP_CompatInfo/tests/parseDir/phpinfo.php' =>
- array (
- 'ignored_functions' =>
- array (
- ),
- 'ignored_extensions' =>
- array (
- ),
- 'ignored_constants' =>
- array (
- ),
- 'max_version' => '',
- 'version' => '4.0.0',
- 'extensions' =>
- array (
- ),
- 'constants' =>
- array (
- ),
- 'tokens' =>
+ 'cond_code' =>
array (
+ 0 => 0,
+ 1 =>
+ array (
+ 0 =>
+ array (
+ ),
+ 1 =>
+ array (
+ ),
+ 2 =>
+ array (
+ ),
+ ),
),
),
)