cvs: peardoc /en/package/php/php-compatinfo whatsnew.xml
| From: | Laurent Laville | Date: | Sat, 20 Dec 2008 18:56:41 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compatinfo whatsnew.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-11329@lists.php.net to get a copy of this message | ||
farell Sat Dec 20 18:56:41 2008 UTC
Modified files:
/peardoc/en/package/php/php-compatinfo whatsnew.xml
Log:
list the news of API 1.9.0
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/whatsnew.xml?r1=1.22&r2=1.23&diff_format=u Index: peardoc/en/package/php/php-compatinfo/whatsnew.xml diff -u peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.22 peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.23 --- peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.22 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/whatsnew.xml Sat Dec 20 18:56:41 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.whatsnew.143"><info><title>Choose the right version</title></info> - + <para> If you need PHP3 detection, DO NOT use version 1.5.0 or greater, but the latest release of 1.4 branch (1.4.3) @@ -14,7 +14,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.07x"><info><title>Version 0.7.x</title></info> - + <para> <itemizedlist> <listitem> @@ -44,7 +44,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.08x"><info><title>Version 0.8.x</title></info> - + <para> <itemizedlist> <listitem> @@ -76,7 +76,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.10x"><info><title>Version 1.0.x</title></info> - + <para> <itemizedlist> <listitem> @@ -90,7 +90,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.11x"><info><title>Version 1.1.x</title></info> - + <para> <itemizedlist> <listitem> @@ -109,7 +109,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.12x"><info><title>Version 1.2.x</title></info> - + <para> <itemizedlist> <listitem> @@ -131,7 +131,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.13x"><info><title>Version 1.3.x</title></info> - + <para> <itemizedlist> <listitem> @@ -150,7 +150,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.14x"><info><title>Version 1.4.x</title></info> - + <para> <itemizedlist> <listitem> @@ -179,7 +179,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.15x"><info><title>Version 1.5.x</title></info> - + <para> <itemizedlist> <listitem> @@ -212,7 +212,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.16x"><info><title>Version 1.6.x</title></info> - + <para> <itemizedlist> <listitem> @@ -286,7 +286,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.17x"><info><title>Version 1.7.x</title></info> - + <para> <itemizedlist> <listitem> @@ -391,7 +391,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.18x"><info><title>Version 1.8.x</title></info> - + <para> Rewrites of core API following the MVC pattern came from a user request that wanted to customized its CLI output. Even if <emphasis>output-level</emphasis> switch @@ -470,4 +470,155 @@ </para> </refsection> -</refentry> + <refsection xml:id="package.php.php-compatinfo.whatsnew.19x"><info><title>Version 1.9.x</title></info> + + <simpara> + With API 1.8.0, there is a limit in class (internal, and end-user defined) detection. + This limit is also valuable for lot of constants and PHP extensions. + </simpara> + <simpara> + API 1.8.0 detected PHP4 classes constructors as simple functions, that produce wrong results, + especially if class name is also an extension function. Example: HTTP_Request + class from PEAR package may be also found into pecl_http extension. + </simpara> + <para> + API 1.9.0 introduce a 3 categories dictionary system: + <emphasis>class</emphasis>, <emphasis>constant</emphasis> and <emphasis>function</emphasis>. + <itemizedlist> + <listitem> + <para> + <emphasis role="bold">class dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_CLASS'] found into <filename>CompatInfo/class_array.php</filename> file + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">constant dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_CONST'] found into <filename>CompatInfo/const_array.php</filename> file + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">function dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_FUNCS'] found into <filename>CompatInfo/func_array.php</filename> file + </para> + </listitem> + </itemizedlist> + Each dictionary can include data from 0 to N extensions depending of + your need of detection (and/or platform running). + </para> + <para> + <emphasis role="bold">E</emphasis>xtensions + <emphasis role="bold">S</emphasis>upport + <emphasis role="bold">L</emphasis>ist + (aka ESL) default built include following extensions: + <simplelist type="inline"> + <member>bcmath</member> + <member>calendar</member> + <member>com_dotnet</member> + <member>ctype</member> + <member>date</member> + <member>dom</member> + <member>filter</member> + <member>ftp</member> + <member>hash</member> + <member>iconv</member> + <member>json</member> + <member>libxml</member> + <member>odbc</member> + <member>pcre</member> + <member>session</member> + <member>SimpleXML</member> + <member>SPL</member> + <member>standard</member> + <member>tokenizer</member> + <member>wddx</member> + <member>xml</member> + <member>xmlwriter</member> + <member>zlib</member> + </simplelist> + </para> + <para> + PHP4 users may extend this list by hand and construct their own with other available + extensions provided into package distribution. + </para> + <para> + PHP5 users may also extend this list by hand, but there is a script named + <filename>pciconf</filename> (<filename>pciconf.bat</filename> for Windows users) + that can simplify the build process. + </para> + <para> + API 1.9.0 provided also new methods to retrieve easily information + from array results, global or for a specific file in results list. These methods are: + <itemizedlist> + <listitem> + <para> + <emphasis role="bold">getVersion</emphasis> + Minimum (and or maximal) PHP Version + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getClasses</emphasis> + All classes (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getFunctions</emphasis> + All functions (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getExtensions</emphasis> + All extensions (internal or external) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getConstants</emphasis> + All constants (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getTokens</emphasis> + All PHP5+ tokens + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getConditions</emphasis> + All (warning) code conditions + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredFiles</emphasis> + List of files ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredFunctions</emphasis> + List of functions (user or PHP internal) ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredExtensions</emphasis> + List of PHP extensions ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredConstants</emphasis> + List of constants (user or PHP internal) ignored during parsing data source + </para> + </listitem> + </itemizedlist> + </para> + </refsection> + +</refentry> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compatinfo/whatsnew.xml?r1=1.22&r2=1.23&diff_format=u Index: peardoc/en/package/php/php-compatinfo/whatsnew.xml diff -u peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.22 peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.23 --- peardoc/en/package/php/php-compatinfo/whatsnew.xml:1.22 Thu Oct 9 15:16:47 2008 +++ peardoc/en/package/php/php-compatinfo/whatsnew.xml Sat Dec 20 18:56:41 2008 @@ -6,7 +6,7 @@ </refnamediv> <refsection xml:id="package.php.php-compatinfo.whatsnew.143"><info><title>Choose the right version</title></info> - + <para> If you need PHP3 detection, DO NOT use version 1.5.0 or greater, but the latest release of 1.4 branch (1.4.3) @@ -14,7 +14,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.07x"><info><title>Version 0.7.x</title></info> - + <para> <itemizedlist> <listitem> @@ -44,7 +44,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.08x"><info><title>Version 0.8.x</title></info> - + <para> <itemizedlist> <listitem> @@ -76,7 +76,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.10x"><info><title>Version 1.0.x</title></info> - + <para> <itemizedlist> <listitem> @@ -90,7 +90,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.11x"><info><title>Version 1.1.x</title></info> - + <para> <itemizedlist> <listitem> @@ -109,7 +109,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.12x"><info><title>Version 1.2.x</title></info> - + <para> <itemizedlist> <listitem> @@ -131,7 +131,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.13x"><info><title>Version 1.3.x</title></info> - + <para> <itemizedlist> <listitem> @@ -150,7 +150,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.14x"><info><title>Version 1.4.x</title></info> - + <para> <itemizedlist> <listitem> @@ -179,7 +179,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.15x"><info><title>Version 1.5.x</title></info> - + <para> <itemizedlist> <listitem> @@ -212,7 +212,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.16x"><info><title>Version 1.6.x</title></info> - + <para> <itemizedlist> <listitem> @@ -286,7 +286,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.17x"><info><title>Version 1.7.x</title></info> - + <para> <itemizedlist> <listitem> @@ -391,7 +391,7 @@ </refsection> <refsection xml:id="package.php.php-compatinfo.whatsnew.18x"><info><title>Version 1.8.x</title></info> - + <para> Rewrites of core API following the MVC pattern came from a user request that wanted to customized its CLI output. Even if <emphasis>output-level</emphasis> switch @@ -470,4 +470,155 @@ </para> </refsection> -</refentry> + <refsection xml:id="package.php.php-compatinfo.whatsnew.19x"><info><title>Version 1.9.x</title></info> + + <simpara> + With API 1.8.0, there is a limit in class (internal, and end-user defined) detection. + This limit is also valuable for lot of constants and PHP extensions. + </simpara> + <simpara> + API 1.8.0 detected PHP4 classes constructors as simple functions, that produce wrong results, + especially if class name is also an extension function. Example: HTTP_Request + class from PEAR package may be also found into pecl_http extension. + </simpara> + <para> + API 1.9.0 introduce a 3 categories dictionary system: + <emphasis>class</emphasis>, <emphasis>constant</emphasis> and <emphasis>function</emphasis>. + <itemizedlist> + <listitem> + <para> + <emphasis role="bold">class dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_CLASS'] found into <filename>CompatInfo/class_array.php</filename> file + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">constant dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_CONST'] found into <filename>CompatInfo/const_array.php</filename> file + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">function dictionary</emphasis> + $GLOBALS['_PHP_COMPATINFO_FUNCS'] found into <filename>CompatInfo/func_array.php</filename> file + </para> + </listitem> + </itemizedlist> + Each dictionary can include data from 0 to N extensions depending of + your need of detection (and/or platform running). + </para> + <para> + <emphasis role="bold">E</emphasis>xtensions + <emphasis role="bold">S</emphasis>upport + <emphasis role="bold">L</emphasis>ist + (aka ESL) default built include following extensions: + <simplelist type="inline"> + <member>bcmath</member> + <member>calendar</member> + <member>com_dotnet</member> + <member>ctype</member> + <member>date</member> + <member>dom</member> + <member>filter</member> + <member>ftp</member> + <member>hash</member> + <member>iconv</member> + <member>json</member> + <member>libxml</member> + <member>odbc</member> + <member>pcre</member> + <member>session</member> + <member>SimpleXML</member> + <member>SPL</member> + <member>standard</member> + <member>tokenizer</member> + <member>wddx</member> + <member>xml</member> + <member>xmlwriter</member> + <member>zlib</member> + </simplelist> + </para> + <para> + PHP4 users may extend this list by hand and construct their own with other available + extensions provided into package distribution. + </para> + <para> + PHP5 users may also extend this list by hand, but there is a script named + <filename>pciconf</filename> (<filename>pciconf.bat</filename> for Windows users) + that can simplify the build process. + </para> + <para> + API 1.9.0 provided also new methods to retrieve easily information + from array results, global or for a specific file in results list. These methods are: + <itemizedlist> + <listitem> + <para> + <emphasis role="bold">getVersion</emphasis> + Minimum (and or maximal) PHP Version + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getClasses</emphasis> + All classes (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getFunctions</emphasis> + All functions (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getExtensions</emphasis> + All extensions (internal or external) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getConstants</emphasis> + All constants (internal or end-user defined) + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getTokens</emphasis> + All PHP5+ tokens + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getConditions</emphasis> + All (warning) code conditions + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredFiles</emphasis> + List of files ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredFunctions</emphasis> + List of functions (user or PHP internal) ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredExtensions</emphasis> + List of PHP extensions ignored during parsing data source + </para> + </listitem> + <listitem> + <para> + <emphasis role="bold">getIgnoredConstants</emphasis> + List of constants (user or PHP internal) ignored during parsing data source + </para> + </listitem> + </itemizedlist> + </para> + </refsection> + +</refentry> \ No newline at end of file