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

From: Date: Thu, 03 Jun 2004 10:47:45 +0000
Subject: Re: peardoc /en/package/php/php-compat intro.xml
References: 1  Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4183@lists.php.net to get a copy of this message
Could someone validate my changes? I don't want to break anything! "Aidan Lister" <aidan@php.net> wrote in message news:cvsaidan1085920530@cvsserver... > aidan Sun May 30 08:35:30 2004 EDT > > Modified files: > /peardoc/en/package/php/php-compat intro.xml > Log: > Removed the wiki markup > Formatted it properly > > http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/intro.xml?r1=1.1&r2=1.2&ty=u > Index: peardoc/en/package/php/php-compat/intro.xml > diff -u peardoc/en/package/php/php-compat/intro.xml:1.1 peardoc/en/package/php/php-compat/intro.xml:1.2 > --- peardoc/en/package/php/php-compat/intro.xml:1.1 Sat May 29 23:07:22 2004 > +++ peardoc/en/package/php/php-compat/intro.xml Sun May 30 08:35:30 2004 > @@ -1,6 +1,6 @@ > > <?xml version="1.0" encoding="ISO-8859-1" ?> > -<!-- $Revision: 1.1 $ --> > +<!-- $Revision: 1.2 $ --> > <refentry id="package.php.php-compat.intro"> > <refnamediv> > <refname>Introduction</refname> > @@ -11,30 +11,30 @@ > <refsect1> > <title>PHP_Compat 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. //file_get_contents()// added in PHP5, add the code: > +PHP_Compat is very easy to use. To load a function, e.g. <emphasis>file_get_contents()</emphasis> added in PHP5, add the code: > <programlisting role="php"> > <![CDATA[ > - > require_once 'PHP/Compat.php'; > > PHP_Compat::loadFunction('file_get_contents'); > + ]]> > + </programlisting> > > OR > > +<programlisting role="php"> > + <![CDATA[ > require_once 'PHP/Compat/Function/file_put_contents.php'; > - > ]]> > </programlisting> > > - > -The function is then ready to use like you would normally. > +The function is then ready to use like you would normally. > </para> > > <para> > <ulink > url="http://aidan.dotgeek.org/wiki/index.php?area=PHP_Compat"> > - The full online documentation is available here</ulink> > + More online documentation is available here</ulink> > </para> > </refsect1> > </refentry>

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