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

From: Date: Sat, 05 Jun 2004 14:48:57 +0000
Subject: cvs: peardoc /en/package/php/php-compat components.xml intro.xml /en/package/php/php-compat/php-compat loadconstant.xml loadfunction.xml
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4265@lists.php.net to get a copy of this message
aidan Sat Jun 5 10:48:57 2004 EDT Modified files: /peardoc/en/package/php/php-compat components.xml intro.xml /peardoc/en/package/php/php-compat/php-compat loadconstant.xml loadfunction.xml Log: Removed tabs

http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/components.xml?r1=1.10&r2=1.11&ty=u Index: peardoc/en/package/php/php-compat/components.xml diff -u peardoc/en/package/php/php-compat/components.xml:1.10 peardoc/en/package/php/php-compat/components.xml:1.11 --- peardoc/en/package/php/php-compat/components.xml:1.10 Sat Jun 5 07:02:32 2004 +++ peardoc/en/package/php/php-compat/components.xml Sat Jun 5 10:48:56 2004 @@ -1,174 +1,174 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id="package.php.php-compat.components"> - <refnamediv> - <refname>Components</refname> - <refpurpose>List of replicated components</refpurpose> - </refnamediv> + <refnamediv> + <refname>Components</refname> + <refpurpose>List of replicated components</refpurpose> + </refnamediv> - <refsect1> - <title>Functions</title> - <para>The following functions have been replicated:</para> - <table> - <title>Functions</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Function</entry> - <entry>Since</entry> - <entry>Requires</entry> - </row> - </thead> + <refsect1> + <title>Functions</title> + <para>The following functions have been replicated:</para> + <table> + <title>Functions</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Function</entry> + <entry>Since</entry> + <entry>Requires</entry> + </row> + </thead> - <tbody> - <row> - <entry>array_change_key_case</entry> - <entry>PHP 4.2.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>array_chunk</entry> - <entry>PHP 4.2.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>array_combine</entry> - <entry>PHP 4.2.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>array_diff_assoc</entry> - <entry>PHP 4.2.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>array_udiff</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>array_udiff_assoc</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>file_get_contents</entry> - <entry>PHP 4.3.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>file_put_content</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>fprintf</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>http_build_query</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>is_a</entry> - <entry>PHP 4.2.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>scandir</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>str_ireplace</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>str_split</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>stripos</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>strripos</entry> - <entry>PHP 5</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>vprintf</entry> - <entry>PHP 4.1.0</entry> - <entry>PHP 3</entry> - </row> - <row> - <entry>vsprintf</entry> - <entry>PHP 4.1.0</entry> - <entry>PHP 3</entry> - </row> - </tbody> - </tgroup> - </table> - </refsect1> + <tbody> + <row> + <entry>array_change_key_case</entry> + <entry>PHP 4.2.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>array_chunk</entry> + <entry>PHP 4.2.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>array_combine</entry> + <entry>PHP 4.2.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>array_diff_assoc</entry> + <entry>PHP 4.2.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>array_udiff</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>array_udiff_assoc</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>file_get_contents</entry> + <entry>PHP 4.3.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>file_put_content</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>fprintf</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>http_build_query</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>is_a</entry> + <entry>PHP 4.2.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>scandir</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>str_ireplace</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>str_split</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>stripos</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>strripos</entry> + <entry>PHP 5</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>vprintf</entry> + <entry>PHP 4.1.0</entry> + <entry>PHP 3</entry> + </row> + <row> + <entry>vsprintf</entry> + <entry>PHP 4.1.0</entry> + <entry>PHP 3</entry> + </row> + </tbody> + </tgroup> + </table> + </refsect1> - <refsect1> - <title>Constants</title> - <para>The following constants have been replicated:</para> - <table> - <title>Constants</title> - <tgroup cols="3"> - <thead> - <row> - <entry>Group</entry> - <entry>Constants</entry> - <entry>Since</entry> - </row> - </thead> + <refsect1> + <title>Constants</title> + <para>The following constants have been replicated:</para> + <table> + <title>Constants</title> + <tgroup cols="3"> + <thead> + <row> + <entry>Group</entry> + <entry>Constants</entry> + <entry>Since</entry> + </row> + </thead> - <tbody> - <row> - <entry>E_STRICT</entry> - <entry><simplelist><member>E_STRICT</member></simplelist></entry> - <entry>PHP 5</entry> - </row> - <row> - <entry>FILE</entry> - <entry> - <simplelist> - <member>FILE_USE_INCLUDE_PATH</member> - <member>FILE_IGNORE_NEW_LINES</member> - <member>FILE_SKIP_EMPTY_LINES</member> - <member>FILE_APPEND</member> - <member>FILE_NO_DEFAULT_CONTEXT</member> - </simplelist> - </entry> - <entry>PHP 5</entry> - </row> - <row> - <entry>PATH_SEPARATOR</entry> - <entry><simplelist><member>PATH_SEPARATOR</member></simplelist></entry> - <entry>PHP 4.3.0-RC2</entry> - </row> - <row> - <entry>STD</entry> - <entry> - <simplelist> - <member>STDIN</member> - <member>STDOUT</member> - <member>STDERR</member> - </simplelist> - </entry> - <entry>PHP 4.3.0</entry> - </row> - </tbody> - </tgroup> - </table> - </refsect1> + <tbody> + <row> + <entry>E_STRICT</entry> + <entry><simplelist><member>E_STRICT</member></simplelist></entry> + <entry>PHP 5</entry> + </row> + <row> + <entry>FILE</entry> + <entry> + <simplelist> + <member>FILE_USE_INCLUDE_PATH</member> + <member>FILE_IGNORE_NEW_LINES</member> + <member>FILE_SKIP_EMPTY_LINES</member> + <member>FILE_APPEND</member> + <member>FILE_NO_DEFAULT_CONTEXT</member> + </simplelist> + </entry> + <entry>PHP 5</entry> + </row> + <row> + <entry>PATH_SEPARATOR</entry> + <entry><simplelist><member>PATH_SEPARATOR</member></simplelist></entry> + <entry>PHP 4.3.0-RC2</entry> + </row> + <row> + <entry>STD</entry> + <entry> + <simplelist> + <member>STDIN</member> + <member>STDOUT</member> + <member>STDERR</member> + </simplelist> + </entry> + <entry>PHP 4.3.0</entry> + </row> + </tbody> + </tgroup> + </table> + </refsect1> </refentry> http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/intro.xml?r1=1.10&r2=1.11&ty=u Index: peardoc/en/package/php/php-compat/intro.xml diff -u peardoc/en/package/php/php-compat/intro.xml:1.10 peardoc/en/package/php/php-compat/intro.xml:1.11 --- peardoc/en/package/php/php-compat/intro.xml:1.10 Sat Jun 5 07:09:07 2004 +++ peardoc/en/package/php/php-compat/intro.xml Sat Jun 5 10:48:56 2004 @@ -1,41 +1,41 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.10 $ --> +<!-- $Revision: 1.11 $ --> <refentry id="package.php.php-compat.intro"> - <refnamediv> - <refname>Introduction</refname> - <refpurpose>Purpose and simple usage example.</refpurpose> - </refnamediv> + <refnamediv> + <refname>Introduction</refname> + <refpurpose>Purpose and simple usage example.</refpurpose> + </refnamediv> - <refsect1> - <title>Description</title> - <para>PHP_Compat 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 with their native equivilants. They have the same signature, same return values and throw the same errors. Each function is unit tested to ensure accuracy.</para> - </refsect1> + <refsect1> + <title>Description</title> + <para>PHP_Compat 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 with their native equivilants. They have the same signature, same return values and throw the same errors. Each function is unit tested to ensure accuracy.</para> + </refsect1> - <refsect1> - <title>Example</title> - <example> - <title>Loading a component with PHP_Compat:</title> - <programlisting role="php"> + <refsect1> + <title>Example</title> + <example> + <title>Loading a component with PHP_Compat:</title> + <programlisting role="php"> <![CDATA[ require_once 'PHP/Compat.php'; PHP_Compat::loadFunction('file_get_contents'); ]]> - </programlisting> - </example> - <para>Or, if you don't wish to use the class, you can load it manually.</para> - <example> - <title>Loading a component manually:</title> - <programlisting role="php"> + </programlisting> + </example> + <para>Or, if you don't wish to use the class, you can load it manually.</para> + <example> + <title>Loading a component manually:</title> + <programlisting role="php"> <![CDATA[ require_once 'PHP/Compat/Function/file_put_contents.php'; ]]> - </programlisting> - </example> - <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> + </programlisting> + </example> + <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> http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/php-compat/loadconstant.xml?r1=1.11&r2=1.12&ty=u Index: peardoc/en/package/php/php-compat/php-compat/loadconstant.xml diff -u peardoc/en/package/php/php-compat/php-compat/loadconstant.xml:1.11 peardoc/en/package/php/php-compat/php-compat/loadconstant.xml:1.12 --- peardoc/en/package/php/php-compat/php-compat/loadconstant.xml:1.11 Sat Jun 5 07:01:37 2004 +++ peardoc/en/package/php/php-compat/php-compat/loadconstant.xml Sat Jun 5 10:48:56 2004 @@ -1,58 +1,58 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.11 $ --> +<!-- $Revision: 1.12 $ --> <refentry id="package.php.php-compat.php-compat.loadconstant"> - <refnamediv> - <refname><function>PHP_Compat::loadConstant</function></refname> - <refpurpose>Load a constant, or an array of constants</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once 'PHP/Compat.php'; - </funcsynopsisinfo> - - <funcprototype> - <funcdef>mixed <function>PHP_Compat::loadConstant</function></funcdef> - <paramdef>mixed <parameter>$constant</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1 id="package.php.php-compat.loadconstant.desc"> - &title.desc; - <para>Loads a constant, or an array of constants.</para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadconstant.parameter"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term>&type.mixed; <parameter>$constant</parameter></term> - <listitem><para>The name, or an array of names, of constants to load</para></listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadconstant.return"> - &title.returns; - <para>&type.mixed;</para> - <para> - <simplelist> - <member>&true; if the constant was loaded.</member> - <member>&false; if the constant was not loaded. Either unable to be included or already defined.</member> - <member>If you specified an array of constants to load, an array of &true;/&false; values is returned.</member> - </simplelist> - </para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadconstant.example"> - &title.example; - <example> - <title>Loading a constant with the class:</title> - <programlisting role="php"> + <refnamediv> + <refname><function>PHP_Compat::loadConstant</function></refname> + <refpurpose>Load a constant, or an array of constants</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once 'PHP/Compat.php'; + </funcsynopsisinfo> + + <funcprototype> + <funcdef>mixed <function>PHP_Compat::loadConstant</function></funcdef> + <paramdef>mixed <parameter>$constant</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.php.php-compat.loadconstant.desc"> + &title.desc; + <para>Loads a constant, or an array of constants.</para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadconstant.parameter"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term>&type.mixed; <parameter>$constant</parameter></term> + <listitem><para>The name, or an array of names, of constants to load</para></listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadconstant.return"> + &title.returns; + <para>&type.mixed;</para> + <para> + <simplelist> + <member>&true; if the constant was loaded.</member> + <member>&false; if the constant was not loaded. Either unable to be included or already defined.</member> + <member>If you specified an array of constants to load, an array of &true;/&false; values is returned.</member> + </simplelist> + </para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadconstant.example"> + &title.example; + <example> + <title>Loading a constant with the class:</title> + <programlisting role="php"> <![CDATA[ <?php require_once 'PHP/Compat.php'; @@ -67,26 +67,26 @@ PHP_Compat::loadConstant('STD'); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> - <para>You may also load a constant without using the class.</para> - <example> - <title>Loading a constant manually:</title> - <programlisting role="php"> + <para>You may also load a constant without using the class.</para> + <example> + <title>Loading a constant manually:</title> + <programlisting role="php"> <![CDATA[ <?php require_once 'PHP/Compat/Constant/E_STRICT.php'; ?> ]]> - </programlisting> - </example> - </refsect1> - - <refsect1 id="package.php.php-compat.loadconstant.note"> - &title.note; - &note.shouldstatic; - </refsect1> + </programlisting> + </example> + </refsect1> + + <refsect1 id="package.php.php-compat.loadconstant.note"> + &title.note; + &note.shouldstatic; + </refsect1> </refentry> http://cvs.php.net/diff.php/peardoc/en/package/php/php-compat/php-compat/loadfunction.xml?r1=1.12&r2=1.13&ty=u Index: peardoc/en/package/php/php-compat/php-compat/loadfunction.xml diff -u peardoc/en/package/php/php-compat/php-compat/loadfunction.xml:1.12 peardoc/en/package/php/php-compat/php-compat/loadfunction.xml:1.13 --- peardoc/en/package/php/php-compat/php-compat/loadfunction.xml:1.12 Sat Jun 5 07:01:37 2004 +++ peardoc/en/package/php/php-compat/php-compat/loadfunction.xml Sat Jun 5 10:48:57 2004 @@ -1,58 +1,58 @@ <?xml version="1.0" encoding="ISO-8859-1" ?> -<!-- $Revision: 1.12 $ --> +<!-- $Revision: 1.13 $ --> <refentry id="package.php.php-compat.php-compat.loadfunction"> - <refnamediv> - <refname><function>PHP_Compat::loadFunction</function></refname> - <refpurpose>Load a function, or an array of functions</refpurpose> - </refnamediv> - - <refsynopsisdiv> - <funcsynopsis> - <funcsynopsisinfo> - require_once 'PHP/Compat.php'; - </funcsynopsisinfo> - - <funcprototype> - <funcdef>mixed <function>PHP_Compat::loadFunction</function></funcdef> - <paramdef>mixed <parameter>$function</parameter></paramdef> - </funcprototype> - </funcsynopsis> - </refsynopsisdiv> - - <refsect1 id="package.php.php-compat.loadfunction.desc"> - &title.desc; - <para>Loads a function, or an array of functions.</para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadfunction.parameter"> - &title.param; - <para> - <variablelist> - <varlistentry> - <term>&type.mixed; <parameter>$function</parameter></term> - <listitem><para>The name, or an array of names, of functions to load</para></listitem> - </varlistentry> - </variablelist> - </para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadfunction.return"> - &title.returns; - <para>&type.mixed;</para> - <para> - <simplelist> - <member>&true; if the function was loaded.</member> - <member>&false; if the function was not loaded. Either unable to be included or already defined.</member> - <member>If you specified an array of functions to load, an array of &true;/&false; values is returned.</member> - </simplelist> - </para> - </refsect1> - - <refsect1 id="package.php.php-compat.loadfunction.example"> - &title.example; - <example> - <title>Loading a function with the class:</title> - <programlisting role="php"> + <refnamediv> + <refname><function>PHP_Compat::loadFunction</function></refname> + <refpurpose>Load a function, or an array of functions</refpurpose> + </refnamediv> + + <refsynopsisdiv> + <funcsynopsis> + <funcsynopsisinfo> + require_once 'PHP/Compat.php'; + </funcsynopsisinfo> + + <funcprototype> + <funcdef>mixed <function>PHP_Compat::loadFunction</function></funcdef> + <paramdef>mixed <parameter>$function</parameter></paramdef> + </funcprototype> + </funcsynopsis> + </refsynopsisdiv> + + <refsect1 id="package.php.php-compat.loadfunction.desc"> + &title.desc; + <para>Loads a function, or an array of functions.</para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadfunction.parameter"> + &title.param; + <para> + <variablelist> + <varlistentry> + <term>&type.mixed; <parameter>$function</parameter></term> + <listitem><para>The name, or an array of names, of functions to load</para></listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadfunction.return"> + &title.returns; + <para>&type.mixed;</para> + <para> + <simplelist> + <member>&true; if the function was loaded.</member> + <member>&false; if the function was not loaded. Either unable to be included or already defined.</member> + <member>If you specified an array of functions to load, an array of &true;/&false; values is returned.</member> + </simplelist> + </para> + </refsect1> + + <refsect1 id="package.php.php-compat.loadfunction.example"> + &title.example; + <example> + <title>Loading a function with the class:</title> + <programlisting role="php"> <![CDATA[ <?php require_once 'PHP/Compat.php'; @@ -64,26 +64,26 @@ PHP_Compat::loadFunction(array('str_split', 'array_chunk', 'file_get_contents')); ?> ]]> - </programlisting> - </example> + </programlisting> + </example> - <para>You may also load a function without using the class.</para> - <example> - <title>Loading a function manually:</title> - <programlisting role="php"> + <para>You may also load a function without using the class.</para> + <example> + <title>Loading a function manually:</title> + <programlisting role="php"> <![CDATA[ <?php require_once 'PHP/Compat/Function/file_put_contents.php'; ?> ]]> - </programlisting> - </example> - </refsect1> - - <refsect1 id="package.php.php-compat.loadfunction.note"> - &title.note; - &note.shouldstatic; - </refsect1> + </programlisting> + </example> + </refsect1> + + <refsect1 id="package.php.php-compat.loadfunction.note"> + &title.note; + &note.shouldstatic; + </refsect1> </refentry>
« previous php.pear.doc (#4265) next »