[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] cvs: peardoc /en/package/php/php-compat intro.xml
From: "Aidan Lister" <aidan () php ! net>
Date: 2004-05-30 12:35:30
Message-ID: cvsaidan1085920530 () cvsserver
[Download RAW message or body]
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>
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic