cvs: peardoc /en/package/php/php-compat intro.xml

From: Date: Fri, 04 Jun 2004 10:53:45 +0000
Subject: cvs: peardoc /en/package/php/php-compat intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4215@lists.php.net to get a copy of this message
aidan Fri Jun 4 06:53:45 2004 EDT Modified files: /peardoc/en/package/php/php-compat intro.xml Log: Reworded and used better xml http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/intro.xml?r1=1.5&r2=1.6&ty=u Index: peardoc/en/package/php/php-compat/intro.xml diff -u peardoc/en/package/php/php-compat/intro.xml:1.5 peardoc/en/package/php/php-compat/intro.xml:1.6 --- peardoc/en/package/php/php-compat/intro.xml:1.5 Fri Jun 4 05:44:56 2004 +++ peardoc/en/package/php/php-compat/intro.xml Fri Jun 4 06:53:44 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <refentry id="package.php.php-compat.intro"> <refnamediv> <refname>Introduction</refname> @@ -9,12 +9,9 @@ </refnamediv> <refsect1> <title>Description</title> - <para> -PHP_Compat provides missing functionality in the form of functions and constants for older versions of PHP. -PHP_Compat is very easy to use. To load a function, e.g. <emphasis>file_get_contents()</emphasis> added in PHP5, add the code: - + <para>PHP_Compat provides missing functionality in the form of functions and constants for older versions of PHP.</para> <example> - <title>Loading a component with the class:</title> + <title>Loading a component with PHP_Compat:</title> <programlisting role="php"> <![CDATA[ require_once 'PHP/Compat.php'; @@ -24,9 +21,9 @@ </programlisting> </example> -Or, if you don't wish to use the class, simply: +<para>Or, if you don't wish to use the class, you can load it manually.</para> - <example> + <example> <title>Loading a component manually:</title> <programlisting role="php"> @@ -36,12 +33,8 @@ </programlisting> </example> -The function is then ready to use like you would normally. - </para> - - <para> - PHP_Compat is designed for ease of use. It has no dependencies and can be used completely outside the PEAR infrastructure. - </para> +<para>The function is then ready to use like you would normally.</para> +<para>PHP_Compat is designed for ease of use. It has no dependencies and can be used completely outside the PEAR infrastructure.</para> </refsect1> </refentry>

« previous php.pear.doc (#4215) next »