cvs: peardoc /en/package/php/php-compat components-function.xml intro.xml usage.xml
| From: | Christian Weiske | Date: | Sun, 15 Apr 2007 14:44:17 +0000 |
| Subject: | cvs: peardoc /en/package/php/php-compat components-function.xml intro.xml usage.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-9638@lists.php.net to get a copy of this message | ||
cweiske Sun Apr 15 14:44:17 2007 UTC
Modified files:
/peardoc/en/package/php/php-compat components-function.xml
intro.xml usage.xml
Log:
Wrap php_compat in classname tags, and add function tags for functions
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/components-function.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/package/php/php-compat/components-function.xml diff -u peardoc/en/package/php/php-compat/components-function.xml:1.2 peardoc/en/package/php/php-compat/components-function.xml:1.3 --- peardoc/en/package/php/php-compat/components-function.xml:1.2 Mon Dec 5 15:10:50 2005 +++ peardoc/en/package/php/php-compat/components-function.xml Sun Apr 15 14:44:17 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- IT IS NOT NECESSARY TO TRANSLATE THIS FILE! --> <table> <title>Functions</title> @@ -12,303 +12,303 @@ </thead> <tbody> <row> - <entry>array_change_key_case</entry> + <entry><function>array_change_key_case</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>array_chunk</entry> + <entry><function>array_chunk</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>array_combine</entry> + <entry><function>array_combine</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_diff_assoc</entry> + <entry><function>array_diff_assoc</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>array_diff_key</entry> + <entry><function>array_diff_key</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_diff_ukey</entry> + <entry><function>array_diff_ukey</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_intersect_assoc</entry> + <entry><function>array_intersect_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_intersect_key</entry> + <entry><function>array_intersect_key</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_intersect_uassoc</entry> + <entry><function>array_intersect_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_intersect_ukey</entry> + <entry><function>array_intersect_ukey</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_key_exists</entry> + <entry><function>array_key_exists</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>array_product</entry> + <entry><function>array_product</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>array_search</entry> + <entry><function>array_search</function></entry> <entry>PHP 4.0.5</entry> </row> <row> - <entry>array_udiff</entry> + <entry><function>array_udiff</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_udiff_assoc</entry> + <entry><function>array_udiff_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_udiff_uassoc</entry> + <entry><function>array_udiff_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect</entry> + <entry><function>array_uintersect</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect_assoc</entry> + <entry><function>array_uintersect_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect_uassoc</entry> + <entry><function>array_uintersect_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_walk_recursive</entry> + <entry><function>array_walk_recursive</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>call_user_func_array</entry> + <entry><function>call_user_func_array</function></entry> <entry>PHP 4.0.4</entry> </row> <row> - <entry>bcinvert</entry> + <entry><function>bcinvert</function></entry> <entry>PHP 5.2.0</entry> </row> <row> - <entry>bcpowmod</entry> + <entry><function>bcpowmod</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>clone</entry> + <entry><function>clone</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>constant</entry> + <entry><function>constant</function></entry> <entry>PHP 4.0.4</entry> </row> <row> - <entry>convert_uudecode</entry> + <entry><function>convert_uudecode</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>convert_uuencode</entry> + <entry><function>convert_uuencode</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>debug_print_backtrace</entry> + <entry><function>debug_print_backtrace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>file_get_contents</entry> + <entry><function>file_get_contents</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>file_put_contents</entry> + <entry><function>file_put_contents</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>floatval</entry> + <entry><function>floatval</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>fprintf</entry> + <entry><function>fprintf</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>fputcsv</entry> + <entry><function>fputcsv</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>get_headers</entry> + <entry><function>get_headers</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>get_include_path</entry> + <entry><function>get_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>html_entity_decode</entry> + <entry><function>html_entity_decode</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>htmlspecialchars_decode</entry> + <entry><function>htmlspecialchars_decode</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>http_build_query</entry> + <entry><function>http_build_query</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>ibase_timefmt</entry> + <entry><function>ibase_timefmt</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>idate</entry> + <entry><function>idate</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>image_type_to_mime_type</entry> + <entry><function>image_type_to_mime_type</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>inet_ntop</entry> + <entry><function>inet_ntop</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>inet_pton</entry> + <entry><function>inet_pton</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>ini_get_all</entry> + <entry><function>ini_get_all</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>is_a</entry> + <entry><function>is_a</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>is_scalar</entry> + <entry><function>is_scalar</function></entry> <entry>PHP 4.0.5</entry> </row> <row> - <entry>md5_file</entry> + <entry><function>md5_file</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>mhash</entry> + <entry><function>mhash</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>mime_content_type</entry> + <entry><function>mime_content_type</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>ob_clean</entry> + <entry><function>ob_clean</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>ob_flush</entry> + <entry><function>ob_flush</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>ob_get_clean</entry> + <entry><function>ob_get_clean</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>ob_get_flush</entry> + <entry><function>ob_get_flush</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>php_strip_whitespace</entry> + <entry><function>php_strip_whitespace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>property_exists</entry> + <entry><function>property_exists</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>pg_affected_rows</entry> + <entry><function>pg_affected_rows</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>pg_escape_bytea</entry> + <entry><function>pg_escape_bytea</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>pg_unescape_bytea</entry> + <entry><function>pg_unescape_bytea</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>restore_include_path</entry> + <entry><function>restore_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>scandir</entry> + <entry><function>scandir</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>set_include_path</entry> + <entry><function>set_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>str_ireplace</entry> + <entry><function>str_ireplace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>str_rot13</entry> + <entry><function>str_rot13</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>str_shuffle</entry> + <entry><function>str_shuffle</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>str_split</entry> + <entry><function>str_split</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>str_word_count</entry> + <entry><function>str_word_count</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>stripos</entry> + <entry><function>stripos</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>strpbrk</entry> + <entry><function>strpbrk</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>strripos</entry> + <entry><function>strripos</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>substr_compare</entry> + <entry><function>substr_compare</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>time_sleep_until</entry> + <entry><function>time_sleep_until</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>var_export</entry> + <entry><function>var_export</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>version_compare</entry> + <entry><function>version_compare</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>vprintf</entry> + <entry><function>vprintf</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>vsprintf</entry> + <entry><function>vsprintf</function></entry> <entry>PHP 4.1.0</entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/intro.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/en/package/php/php-compat/intro.xml diff -u peardoc/en/package/php/php-compat/intro.xml:1.13 peardoc/en/package/php/php-compat/intro.xml:1.14 --- peardoc/en/package/php/php-compat/intro.xml:1.13 Fri Jun 11 01:51:40 2004 +++ peardoc/en/package/php/php-compat/intro.xml Sun Apr 15 14:44:17 2007 @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry id="package.php.php-compat.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose>Purpose and simple usage example</refpurpose> </refnamediv> - <refsect1> + <refsect1> <title>Description</title> <para> - PHP_Compat provides missing functionality in the form of functions - and constants for older versions of PHP. + <classname>PHP_Compat</classname> provides missing functionality in the form + of functions and constants for older versions of PHP. </para> <para> The replicated functions are designed to be interchangable @@ -43,11 +43,11 @@ </example> <para>The function is then ready to use like you would normally.</para> <para> - PHP_Compat is designed for ease of use. + <classname>PHP_Compat</classname> is designed for ease of use. It has no dependencies and can be used completely outside the PEAR infrastructure. </para> </refsect1> -</refentry> +</refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/usage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/php/php-compat/usage.xml diff -u peardoc/en/package/php/php-compat/usage.xml:1.1 peardoc/en/package/php/php-compat/usage.xml:1.2 --- peardoc/en/package/php/php-compat/usage.xml:1.1 Tue Nov 23 15:54:32 2004 +++ peardoc/en/package/php/php-compat/usage.xml Sun Apr 15 14:44:17 2007 @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.php.php-compat.usage"> <refnamediv> <refname>Advanced usage</refname> <refpurpose>Describe techniques for advanced usage</refpurpose> </refnamediv> - <refsect1> + <refsect1> <title>Advanced usage</title> <para> In order to create portable code, it's best to assume all the native functions already exist. Littering a script with - calls to PHP_Compat can become messy, and increase the work - required to port the code. + calls to <classname>PHP_Compat</classname> can become messy, + and increase the work required to port the code. </para> <para> To solve this there are a number of approaches. The first would @@ -31,7 +31,7 @@ page. </para> </refsect1> -</refentry> +</refentry> <!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/components-function.xml?r1=1.2&r2=1.3&diff_format=u Index: peardoc/en/package/php/php-compat/components-function.xml diff -u peardoc/en/package/php/php-compat/components-function.xml:1.2 peardoc/en/package/php/php-compat/components-function.xml:1.3 --- peardoc/en/package/php/php-compat/components-function.xml:1.2 Mon Dec 5 15:10:50 2005 +++ peardoc/en/package/php/php-compat/components-function.xml Sun Apr 15 14:44:17 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1" ?> -<!-- $Revision: 1.2 $ --> +<!-- $Revision: 1.3 $ --> <!-- IT IS NOT NECESSARY TO TRANSLATE THIS FILE! --> <table> <title>Functions</title> @@ -12,303 +12,303 @@ </thead> <tbody> <row> - <entry>array_change_key_case</entry> + <entry><function>array_change_key_case</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>array_chunk</entry> + <entry><function>array_chunk</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>array_combine</entry> + <entry><function>array_combine</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_diff_assoc</entry> + <entry><function>array_diff_assoc</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>array_diff_key</entry> + <entry><function>array_diff_key</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_diff_ukey</entry> + <entry><function>array_diff_ukey</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_intersect_assoc</entry> + <entry><function>array_intersect_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_intersect_key</entry> + <entry><function>array_intersect_key</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_intersect_uassoc</entry> + <entry><function>array_intersect_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_intersect_ukey</entry> + <entry><function>array_intersect_ukey</function></entry> <entry>PHP 5.0.2</entry> </row> <row> - <entry>array_key_exists</entry> + <entry><function>array_key_exists</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>array_product</entry> + <entry><function>array_product</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>array_search</entry> + <entry><function>array_search</function></entry> <entry>PHP 4.0.5</entry> </row> <row> - <entry>array_udiff</entry> + <entry><function>array_udiff</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_udiff_assoc</entry> + <entry><function>array_udiff_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_udiff_uassoc</entry> + <entry><function>array_udiff_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect</entry> + <entry><function>array_uintersect</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect_assoc</entry> + <entry><function>array_uintersect_assoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_uintersect_uassoc</entry> + <entry><function>array_uintersect_uassoc</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>array_walk_recursive</entry> + <entry><function>array_walk_recursive</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>call_user_func_array</entry> + <entry><function>call_user_func_array</function></entry> <entry>PHP 4.0.4</entry> </row> <row> - <entry>bcinvert</entry> + <entry><function>bcinvert</function></entry> <entry>PHP 5.2.0</entry> </row> <row> - <entry>bcpowmod</entry> + <entry><function>bcpowmod</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>clone</entry> + <entry><function>clone</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>constant</entry> + <entry><function>constant</function></entry> <entry>PHP 4.0.4</entry> </row> <row> - <entry>convert_uudecode</entry> + <entry><function>convert_uudecode</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>convert_uuencode</entry> + <entry><function>convert_uuencode</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>debug_print_backtrace</entry> + <entry><function>debug_print_backtrace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>file_get_contents</entry> + <entry><function>file_get_contents</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>file_put_contents</entry> + <entry><function>file_put_contents</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>floatval</entry> + <entry><function>floatval</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>fprintf</entry> + <entry><function>fprintf</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>fputcsv</entry> + <entry><function>fputcsv</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>get_headers</entry> + <entry><function>get_headers</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>get_include_path</entry> + <entry><function>get_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>html_entity_decode</entry> + <entry><function>html_entity_decode</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>htmlspecialchars_decode</entry> + <entry><function>htmlspecialchars_decode</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>http_build_query</entry> + <entry><function>http_build_query</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>ibase_timefmt</entry> + <entry><function>ibase_timefmt</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>idate</entry> + <entry><function>idate</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>image_type_to_mime_type</entry> + <entry><function>image_type_to_mime_type</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>inet_ntop</entry> + <entry><function>inet_ntop</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>inet_pton</entry> + <entry><function>inet_pton</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>ini_get_all</entry> + <entry><function>ini_get_all</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>is_a</entry> + <entry><function>is_a</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>is_scalar</entry> + <entry><function>is_scalar</function></entry> <entry>PHP 4.0.5</entry> </row> <row> - <entry>md5_file</entry> + <entry><function>md5_file</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>mhash</entry> + <entry><function>mhash</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>mime_content_type</entry> + <entry><function>mime_content_type</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>ob_clean</entry> + <entry><function>ob_clean</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>ob_flush</entry> + <entry><function>ob_flush</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>ob_get_clean</entry> + <entry><function>ob_get_clean</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>ob_get_flush</entry> + <entry><function>ob_get_flush</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>php_strip_whitespace</entry> + <entry><function>php_strip_whitespace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>property_exists</entry> + <entry><function>property_exists</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>pg_affected_rows</entry> + <entry><function>pg_affected_rows</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>pg_escape_bytea</entry> + <entry><function>pg_escape_bytea</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>pg_unescape_bytea</entry> + <entry><function>pg_unescape_bytea</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>restore_include_path</entry> + <entry><function>restore_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>scandir</entry> + <entry><function>scandir</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>set_include_path</entry> + <entry><function>set_include_path</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>str_ireplace</entry> + <entry><function>str_ireplace</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>str_rot13</entry> + <entry><function>str_rot13</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>str_shuffle</entry> + <entry><function>str_shuffle</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>str_split</entry> + <entry><function>str_split</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>str_word_count</entry> + <entry><function>str_word_count</function></entry> <entry>PHP 4.3.0</entry> </row> <row> - <entry>stripos</entry> + <entry><function>stripos</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>strpbrk</entry> + <entry><function>strpbrk</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>strripos</entry> + <entry><function>strripos</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>substr_compare</entry> + <entry><function>substr_compare</function></entry> <entry>PHP 5.0.0</entry> </row> <row> - <entry>time_sleep_until</entry> + <entry><function>time_sleep_until</function></entry> <entry>PHP 5.1.0</entry> </row> <row> - <entry>var_export</entry> + <entry><function>var_export</function></entry> <entry>PHP 4.2.0</entry> </row> <row> - <entry>version_compare</entry> + <entry><function>version_compare</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>vprintf</entry> + <entry><function>vprintf</function></entry> <entry>PHP 4.1.0</entry> </row> <row> - <entry>vsprintf</entry> + <entry><function>vsprintf</function></entry> <entry>PHP 4.1.0</entry> </row> </tbody> http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/intro.xml?r1=1.13&r2=1.14&diff_format=u Index: peardoc/en/package/php/php-compat/intro.xml diff -u peardoc/en/package/php/php-compat/intro.xml:1.13 peardoc/en/package/php/php-compat/intro.xml:1.14 --- peardoc/en/package/php/php-compat/intro.xml:1.13 Fri Jun 11 01:51:40 2004 +++ peardoc/en/package/php/php-compat/intro.xml Sun Apr 15 14:44:17 2007 @@ -1,16 +1,16 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.13 $ --> +<!-- $Revision: 1.14 $ --> <refentry id="package.php.php-compat.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose>Purpose and simple usage example</refpurpose> </refnamediv> - <refsect1> + <refsect1> <title>Description</title> <para> - PHP_Compat provides missing functionality in the form of functions - and constants for older versions of PHP. + <classname>PHP_Compat</classname> provides missing functionality in the form + of functions and constants for older versions of PHP. </para> <para> The replicated functions are designed to be interchangable @@ -43,11 +43,11 @@ </example> <para>The function is then ready to use like you would normally.</para> <para> - PHP_Compat is designed for ease of use. + <classname>PHP_Compat</classname> is designed for ease of use. It has no dependencies and can be used completely outside the PEAR infrastructure. </para> </refsect1> -</refentry> +</refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/peardoc/en/package/php/php-compat/usage.xml?r1=1.1&r2=1.2&diff_format=u Index: peardoc/en/package/php/php-compat/usage.xml diff -u peardoc/en/package/php/php-compat/usage.xml:1.1 peardoc/en/package/php/php-compat/usage.xml:1.2 --- peardoc/en/package/php/php-compat/usage.xml:1.1 Tue Nov 23 15:54:32 2004 +++ peardoc/en/package/php/php-compat/usage.xml Sun Apr 15 14:44:17 2007 @@ -1,18 +1,18 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="package.php.php-compat.usage"> <refnamediv> <refname>Advanced usage</refname> <refpurpose>Describe techniques for advanced usage</refpurpose> </refnamediv> - <refsect1> + <refsect1> <title>Advanced usage</title> <para> In order to create portable code, it's best to assume all the native functions already exist. Littering a script with - calls to PHP_Compat can become messy, and increase the work - required to port the code. + calls to <classname>PHP_Compat</classname> can become messy, + and increase the work required to port the code. </para> <para> To solve this there are a number of approaches. The first would @@ -31,7 +31,7 @@ page. </para> </refsect1> -</refentry> +</refentry> <!-- Keep this comment at the end of the file