cvs: peardoc /en/package/php/php-compatinfo advanced.xml basic.xml command-line.xml
| From: | Laurent Laville | Date: | Sat, 20 Dec 2008 14:59:20 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo advanced.xml basic.xml command-line.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11323@lists.php.net to get a copy of this message | ||
farell Sat Dec 20 14:59:20 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo advanced.xml basic.xml
command-line.xml
Log:
- add the classes result-key entry introduced in version 1.9.0 in all examples
- fixed all examples results : improved detection with API 1.9.0
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/advanced.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/advanced.xml diff -u peardoc/en/package/php/php-compatinfo/advanced.xml:1.5 peardoc/en/package/php/php-compatinfo/advanced.xml:1.6 --- peardoc/en/package/php/php-compatinfo/advanced.xml:1.5 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/advanced.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.advanced.file"><info><title>Detection of a single file</title></info> - + <para> If your file implement code condition that is optional and don't break main goal, such as, for example : @@ -75,11 +75,15 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( ), 'constants' => array ( + 0 => 'FALSE', ), 'tokens' => array ( @@ -136,7 +140,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.advanced.dir"><info><title>Detection of a directory</title></info> - + <simpara> Parsing a full directory, recursively or not, is no more difficult than detect PHP version of a single file. @@ -217,6 +221,10 @@ ), 'max_version' => '', 'version' => '5.0.0', + 'classes' => + array ( + 0 => 'Services_W3C_CSSValidator', + ), 'extensions' => array ( 0 => 'date', @@ -224,6 +232,15 @@ ), 'constants' => array ( + 0 => 'E_USER_ERROR', + 1 => 'E_USER_NOTICE', + 2 => 'E_USER_WARNING', + 3 => 'FALSE', + 4 => 'NULL', + 5 => 'PHP_OS', + 6 => 'PREG_SET_ORDER', + 7 => 'PREG_SPLIT_DELIM_CAPTURE', + 8 => 'TRUE', ), 'tokens' => array ( @@ -245,6 +262,10 @@ ), 'max_version' => '', 'version' => '5.0.0', + 'classes' => + array ( + 0 => 'Services_W3C_CSSValidator', + ), 'extensions' => array ( 0 => 'date', @@ -252,6 +273,12 @@ ), 'constants' => array ( + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PHP_OS', + 3 => 'PREG_SET_ORDER', + 4 => 'PREG_SPLIT_DELIM_CAPTURE', + 5 => 'TRUE', ), 'tokens' => array ( @@ -274,12 +301,21 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + ), 'extensions' => array ( 0 => 'date', ), 'constants' => array ( + 0 => 'E_USER_ERROR', + 1 => 'E_USER_NOTICE', + 2 => 'E_USER_WARNING', + 3 => 'FALSE', + 4 => 'NULL', + 5 => 'TRUE', ), 'tokens' => array ( @@ -335,4 +371,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/basic.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/en/package/php/php-compatinfo/basic.xml diff -u peardoc/en/package/php/php-compatinfo/basic.xml:1.3 peardoc/en/package/php/php-compatinfo/basic.xml:1.4 --- peardoc/en/package/php/php-compatinfo/basic.xml:1.3 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/basic.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.basic.file"><info><title>Detection of a single file</title></info> - + <para> In most case, the basic detection is enough. But sometimes, we will need to adjust accuracy of parser to give the best result. It is possible with @@ -66,6 +66,9 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( 0 => 'bcmath', @@ -94,7 +97,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.basic.dir"><info><title>Detection of a directory</title></info> - + <para> Rather than parsing file after file of an application, you my give the root of your application path as the main directory to parse. Default is recursive @@ -162,13 +165,23 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + 0 => 'File_Find', + ), 'extensions' => array ( 0 => 'pcre', ), 'constants' => array ( - 0 => '__FILE__', + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PHP_OS', + 3 => 'PREG_SPLIT_DELIM_CAPTURE', + 4 => 'PREG_SPLIT_NO_EMPTY', + 5 => 'TRUE', + 6 => '__FILE__', ), 'tokens' => array ( @@ -190,12 +203,21 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + 0 => 'File_Find', + ), 'extensions' => array ( 0 => 'pcre', ), 'constants' => array ( + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PREG_SPLIT_DELIM_CAPTURE', + 3 => 'PREG_SPLIT_NO_EMPTY', + 4 => 'TRUE', ), 'tokens' => array ( @@ -218,12 +240,16 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( ), 'constants' => array ( - 0 => '__FILE__', + 0 => 'PHP_OS', + 1 => '__FILE__', ), 'tokens' => array ( @@ -313,4 +339,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/command-line.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/command-line.xml diff -u peardoc/en/package/php/php-compatinfo/command-line.xml:1.5 peardoc/en/package/php/php-compatinfo/command-line.xml:1.6 --- peardoc/en/package/php/php-compatinfo/command-line.xml:1.5 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/command-line.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.command-line.switches"><info><title>Switches and options</title></info> - + <para> The <emphasis role="bold">Command-Line Parser</emphasis> can be invoked through the <command>pci</command> command. @@ -168,13 +168,20 @@ +-----------------------------+---------+---+------------+--------------------+ | Files | Version | C | Extensions | Constants/Tokens | +-----------------------------+---------+---+------------+--------------------+ -| ...W3C_CSSValidator-0.1.0/* | 5.1.0 | 4 | pecl_http | ...CTORY_SEPARATOR | +| ...W3C_CSSValidator-0.1.0/* | 5.1.0 | 4 | dom | ...CTORY_SEPARATOR | +| | | | | E_ALL | +| | | | | FALSE | +| | | | | NULL | +| | | | | TRUE | | | | | | __FILE__ | | | | | | instanceof | | | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...r-0.1.0/CSSValidator.php | 5.1.0 | 0 | pecl_http | protected | +| ...r-0.1.0/CSSValidator.php | 5.1.0 | 0 | dom | FALSE | +| | | | | NULL | +| | | | | TRUE | +| | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ | ...0.1.0/tests/AllTests.php | 5.0.0 | 4 | | __FILE__ | @@ -185,17 +192,22 @@ | | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...les/validate_atrules.php | 4.0.0 | 0 | | | +| ...les/validate_atrules.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...ples/validate_byfile.php | 4.0.0 | 0 | | | +| ...ples/validate_byfile.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...mples/validate_byuri.php | 4.0.0 | 0 | | | +| ...mples/validate_byuri.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...es/validate_fragment.php | 4.0.0 | 0 | | | +| ...es/validate_fragment.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ | ...0/CSSValidator/Error.php | 5.0.0 | 0 | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...CSSValidator/Message.php | 5.0.0 | 0 | | public | +| ...CSSValidator/Message.php | 5.0.0 | 0 | | NULL | +| | | | | public | +-----------------------------+---------+---+------------+--------------------+ | ...SSValidator/Response.php | 5.0.0 | 0 | | instanceof | | | | | | public | @@ -278,7 +290,6 @@ +---------+-----------------+-----------+------+ | Version | Function | Extension | PECL | +---------+-----------------+-----------+------+ -| 1.0.0 | http_request | pecl_http | yes | | 4.0.0 | in_array | | no | | 4.0.0 | file_exists | | no | | 4.0.0 | is_bool | | no | @@ -873,7 +884,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.command-line.display"><info><title>Display results</title></info> - + <para> Let's take a look now at the result displayed : the main table </para> @@ -984,4 +995,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/advanced.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/advanced.xml diff -u peardoc/en/package/php/php-compatinfo/advanced.xml:1.5 peardoc/en/package/php/php-compatinfo/advanced.xml:1.6 --- peardoc/en/package/php/php-compatinfo/advanced.xml:1.5 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/advanced.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.advanced.file"><info><title>Detection of a single file</title></info> - + <para> If your file implement code condition that is optional and don't break main goal, such as, for example : @@ -75,11 +75,15 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( ), 'constants' => array ( + 0 => 'FALSE', ), 'tokens' => array ( @@ -136,7 +140,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.advanced.dir"><info><title>Detection of a directory</title></info> - + <simpara> Parsing a full directory, recursively or not, is no more difficult than detect PHP version of a single file. @@ -217,6 +221,10 @@ ), 'max_version' => '', 'version' => '5.0.0', + 'classes' => + array ( + 0 => 'Services_W3C_CSSValidator', + ), 'extensions' => array ( 0 => 'date', @@ -224,6 +232,15 @@ ), 'constants' => array ( + 0 => 'E_USER_ERROR', + 1 => 'E_USER_NOTICE', + 2 => 'E_USER_WARNING', + 3 => 'FALSE', + 4 => 'NULL', + 5 => 'PHP_OS', + 6 => 'PREG_SET_ORDER', + 7 => 'PREG_SPLIT_DELIM_CAPTURE', + 8 => 'TRUE', ), 'tokens' => array ( @@ -245,6 +262,10 @@ ), 'max_version' => '', 'version' => '5.0.0', + 'classes' => + array ( + 0 => 'Services_W3C_CSSValidator', + ), 'extensions' => array ( 0 => 'date', @@ -252,6 +273,12 @@ ), 'constants' => array ( + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PHP_OS', + 3 => 'PREG_SET_ORDER', + 4 => 'PREG_SPLIT_DELIM_CAPTURE', + 5 => 'TRUE', ), 'tokens' => array ( @@ -274,12 +301,21 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + ), 'extensions' => array ( 0 => 'date', ), 'constants' => array ( + 0 => 'E_USER_ERROR', + 1 => 'E_USER_NOTICE', + 2 => 'E_USER_WARNING', + 3 => 'FALSE', + 4 => 'NULL', + 5 => 'TRUE', ), 'tokens' => array ( @@ -335,4 +371,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/basic.xml?r1=1.3&r2=1.4&diff_format=u Index: peardoc/en/package/php/php-compatinfo/basic.xml diff -u peardoc/en/package/php/php-compatinfo/basic.xml:1.3 peardoc/en/package/php/php-compatinfo/basic.xml:1.4 --- peardoc/en/package/php/php-compatinfo/basic.xml:1.3 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/basic.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.basic.file"><info><title>Detection of a single file</title></info> - + <para> In most case, the basic detection is enough. But sometimes, we will need to adjust accuracy of parser to give the best result. It is possible with @@ -66,6 +66,9 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( 0 => 'bcmath', @@ -94,7 +97,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.basic.dir"><info><title>Detection of a directory</title></info> - + <para> Rather than parsing file after file of an application, you my give the root of your application path as the main directory to parse. Default is recursive @@ -162,13 +165,23 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + 0 => 'File_Find', + ), 'extensions' => array ( 0 => 'pcre', ), 'constants' => array ( - 0 => '__FILE__', + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PHP_OS', + 3 => 'PREG_SPLIT_DELIM_CAPTURE', + 4 => 'PREG_SPLIT_NO_EMPTY', + 5 => 'TRUE', + 6 => '__FILE__', ), 'tokens' => array ( @@ -190,12 +203,21 @@ ), 'max_version' => '', 'version' => '4.3.0', + 'classes' => + array ( + 0 => 'File_Find', + ), 'extensions' => array ( 0 => 'pcre', ), 'constants' => array ( + 0 => 'FALSE', + 1 => 'NULL', + 2 => 'PREG_SPLIT_DELIM_CAPTURE', + 3 => 'PREG_SPLIT_NO_EMPTY', + 4 => 'TRUE', ), 'tokens' => array ( @@ -218,12 +240,16 @@ ), 'max_version' => '', 'version' => '4.0.0', + 'classes' => + array ( + ), 'extensions' => array ( ), 'constants' => array ( - 0 => '__FILE__', + 0 => 'PHP_OS', + 1 => '__FILE__', ), 'tokens' => array ( @@ -313,4 +339,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/command-line.xml?r1=1.5&r2=1.6&diff_format=u Index: peardoc/en/package/php/php-compatinfo/command-line.xml diff -u peardoc/en/package/php/php-compatinfo/command-line.xml:1.5 peardoc/en/package/php/php-compatinfo/command-line.xml:1.6 --- peardoc/en/package/php/php-compatinfo/command-line.xml:1.5 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/command-line.xml Sat Dec 20 14:59:20 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.command-line.switches"><info><title>Switches and options</title></info> - + <para> The <emphasis role="bold">Command-Line Parser</emphasis> can be invoked through the <command>pci</command> command. @@ -168,13 +168,20 @@ +-----------------------------+---------+---+------------+--------------------+ | Files | Version | C | Extensions | Constants/Tokens | +-----------------------------+---------+---+------------+--------------------+ -| ...W3C_CSSValidator-0.1.0/* | 5.1.0 | 4 | pecl_http | ...CTORY_SEPARATOR | +| ...W3C_CSSValidator-0.1.0/* | 5.1.0 | 4 | dom | ...CTORY_SEPARATOR | +| | | | | E_ALL | +| | | | | FALSE | +| | | | | NULL | +| | | | | TRUE | | | | | | __FILE__ | | | | | | instanceof | | | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...r-0.1.0/CSSValidator.php | 5.1.0 | 0 | pecl_http | protected | +| ...r-0.1.0/CSSValidator.php | 5.1.0 | 0 | dom | FALSE | +| | | | | NULL | +| | | | | TRUE | +| | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ | ...0.1.0/tests/AllTests.php | 5.0.0 | 4 | | __FILE__ | @@ -185,17 +192,22 @@ | | | | | protected | | | | | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...les/validate_atrules.php | 4.0.0 | 0 | | | +| ...les/validate_atrules.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...ples/validate_byfile.php | 4.0.0 | 0 | | | +| ...ples/validate_byfile.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...mples/validate_byuri.php | 4.0.0 | 0 | | | +| ...mples/validate_byuri.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ -| ...es/validate_fragment.php | 4.0.0 | 0 | | | +| ...es/validate_fragment.php | 4.0.0 | 0 | | E_ALL | +| | | | | TRUE | +-----------------------------+---------+---+------------+--------------------+ | ...0/CSSValidator/Error.php | 5.0.0 | 0 | | public | +-----------------------------+---------+---+------------+--------------------+ -| ...CSSValidator/Message.php | 5.0.0 | 0 | | public | +| ...CSSValidator/Message.php | 5.0.0 | 0 | | NULL | +| | | | | public | +-----------------------------+---------+---+------------+--------------------+ | ...SSValidator/Response.php | 5.0.0 | 0 | | instanceof | | | | | | public | @@ -278,7 +290,6 @@ +---------+-----------------+-----------+------+ | Version | Function | Extension | PECL | +---------+-----------------+-----------+------+ -| 1.0.0 | http_request | pecl_http | yes | | 4.0.0 | in_array | | no | | 4.0.0 | file_exists | | no | | 4.0.0 | is_bool | | no | @@ -873,7 +884,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.command-line.display"><info><title>Display results</title></info> - + <para> Let's take a look now at the result displayed : the main table </para> @@ -984,4 +995,4 @@ </para> </refsection> -</refentry> +</refentry> \ No newline at end of file