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

From: Date: Fri, 04 Jun 2004 04:59:00 +0000
Subject: cvs: peardoc /en/package/php/php-compat intro.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4191@lists.php.net to get a copy of this message
aidan Fri Jun 4 00:59:00 2004 EDT Modified files: /peardoc/en/package/php/php-compat intro.xml Log: Removed <example> tag http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/intro.xml?r1=1.3&r2=1.4&ty=u Index: peardoc/en/package/php/php-compat/intro.xml diff -u peardoc/en/package/php/php-compat/intro.xml:1.3 peardoc/en/package/php/php-compat/intro.xml:1.4 --- peardoc/en/package/php/php-compat/intro.xml:1.3 Thu Jun 3 23:22:30 2004 +++ peardoc/en/package/php/php-compat/intro.xml Fri Jun 4 00:59:00 2004 @@ -1,20 +1,18 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.3 $ --> +<!-- $Revision: 1.4 $ --> <refentry id="package.php.php-compat.intro"> <refnamediv> <refname>Introduction</refname> <refpurpose> - Provides missing functionality for older versions of PHP +Purpose and simple usage example. </refpurpose> </refnamediv> <refsect1> - <title>PHP_Compat Description</title> + <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: - <example> - <title>Include a component</title> <programlisting role="php"> <![CDATA[ require_once 'PHP/Compat.php'; @@ -30,7 +28,6 @@ require_once 'PHP/Compat/Function/file_put_contents.php'; ]]> </programlisting> - </example> The function is then ready to use like you would normally. </para>

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