cvs: phpdoc-fr / language-snippets.ent /appendices reserved.xml wrappers.xml /language control-structures.xml /reference/bc/functions bcadd.xml
bccomp.xml bcdiv.xml bcmod.xml bcmul.xml bcpow.xml bcpowmod.xml bcscale.xml bcsqrt.xml bcsub.xml /reference/errorfunc/functions error-reporting.xml
/reference/exec reference.xml /reference/fbsql/functions fbsql-pconnect.xml /reference/filesystem/functions realpath.xml
/reference/xmlrpc/functions xmlrpc-decode-request.xml xmlrpc-decode.xml xmlrpc-encode-request.xml xmlrpc-is-fault.xml /reference/xmlwriter
reference.xml
| From: | Yannick Torres | Date: | Sat, 27 Jan 2007 14:44:43 +0000 |
| Subject: | cvs: phpdoc-fr / language-snippets.ent /appendices reserved.xml wrappers.xml /language control-structures.xml /reference/bc/functions bcadd.xml bccomp.xml bcdiv.xml bcmod.xml bcmul.xml bcpow.xml bcpowmod.xml bcscale.xml bcsqrt.xml bcsub.xml /reference/errorfunc/functions error-reporting.xml /reference/exec reference.xml /reference/fbsql/functions fbsql-pconnect.xml /reference/filesystem/functions realpath.xml /reference/xmlrpc/functions xmlrpc-decode-request.xml xmlrpc-decode.xml xmlrpc-encode-request.xml xmlrpc-is-fault.xml /reference/xmlwriter reference.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5193@lists.php.net to get a copy of this message | ||
yannick Sat Jan 27 14:44:43 2007 UTC
Modified files:
/phpdoc-fr/appendices reserved.xml wrappers.xml
/phpdoc-fr/language control-structures.xml
/phpdoc-fr language-snippets.ent
/phpdoc-fr/reference/bc/functions bcadd.xml bccomp.xml bcdiv.xml
bcmod.xml bcmul.xml bcpowmod.xml
bcpow.xml bcscale.xml bcsqrt.xml
bcsub.xml
/phpdoc-fr/reference/errorfunc/functions error-reporting.xml
/phpdoc-fr/reference/exec reference.xml
/phpdoc-fr/reference/fbsql/functions fbsql-pconnect.xml
/phpdoc-fr/reference/filesystem/functions realpath.xml
/phpdoc-fr/reference/xmlrpc/functions xmlrpc-decode-request.xml
xmlrpc-decode.xml
xmlrpc-encode-request.xml
xmlrpc-is-fault.xml
/phpdoc-fr/reference/xmlwriter reference.xml
Log:
sync with EN
http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/reserved.xml?r1=1.52&r2=1.53&diff_format=u Index: phpdoc-fr/appendices/reserved.xml diff -u phpdoc-fr/appendices/reserved.xml:1.52 phpdoc-fr/appendices/reserved.xml:1.53 --- phpdoc-fr/appendices/reserved.xml:1.52 Mon Jul 10 08:42:52 2006 +++ phpdoc-fr/appendices/reserved.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.52 $ --> -<!-- EN-Revision: 1.61 Maintainer: dams Status: ready --> +<!-- $Revision: 1.53 $ --> +<!-- EN-Revision: 1.62 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix id="reserved"> @@ -579,6 +579,10 @@ <simpara> Définissez à une valeur non-vide si le script nécessite d'utiliser le protocole HTTPS. </simpara> + <simpara> + Noter que lors de l'utilisation de ISAPI avec IIS, la valeur sera + <literal>off</literal> si la demande n'a pas été faite via le protocole HTTPS. + </simpara> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/wrappers.xml?r1=1.40&r2=1.41&diff_format=u Index: phpdoc-fr/appendices/wrappers.xml diff -u phpdoc-fr/appendices/wrappers.xml:1.40 phpdoc-fr/appendices/wrappers.xml:1.41 --- phpdoc-fr/appendices/wrappers.xml:1.40 Sun Jan 21 09:17:43 2007 +++ phpdoc-fr/appendices/wrappers.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.40 $ --> -<!-- EN-Revision: 1.68 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.41 $ --> +<!-- EN-Revision: 1.69 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <appendix id="wrappers"> @@ -394,6 +394,14 @@ </entry> <entry>1.0</entry> </row> + <row> + <entry><literal>timeout</literal></entry> + <entry> + Lit de délai maximal en secondes, spécifié par un &float; (e.g. + <literal>10.5</literal>). Ajouté en &php; 5.2.1. + </entry> + <entry><link linkend="ini.default-socket-timeout">default_socket_timeout</link></entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/control-structures.xml?r1=1.84&r2=1.85&diff_format=u Index: phpdoc-fr/language/control-structures.xml diff -u phpdoc-fr/language/control-structures.xml:1.84 phpdoc-fr/language/control-structures.xml:1.85 --- phpdoc-fr/language/control-structures.xml:1.84 Wed Sep 6 19:42:09 2006 +++ phpdoc-fr/language/control-structures.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.84 $ --> -<!-- EN-Revision: 1.135 Maintainer: dams Status: ready --> +<!-- $Revision: 1.85 $ --> +<!-- EN-Revision: 1.136 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter id="language.control-structures"> @@ -1273,9 +1273,8 @@ <simpara> <function>require</function> et <function>include</function> sont identiques, sauf dans leur façon de gérer les erreurs. - <function>include</function> produite une - <link linkend="internal.e-warning">Alerte (<literal>warning</literal>)</link> tandis - que <function>require</function> génère une + Ils produisent tous les deux une <link linkend="internal.e-warning">Alerte</link> + mais <function>require</function> génère une <link linkend="internal.e-error">erreur fatale</link>. En d'autres termes, n'hésitez pas à utiliser <function>require</function> si vous voulez qu'un fichier @@ -1349,10 +1348,9 @@ Cette documentation s'applique aussi à la fonction <function>require</function>. Les deux structures de langage sont identiques, hormis dans leur gestion des - erreurs. - <function>include</function> produit une - <link linkend="internal.e-warning">Alerte (<literal>warning</literal>)</link> tandis - que <function>require</function> génère une + erreurs. Ils produisent tous les deux un + <link linkend="internal.e-warning">Alerte</link> mais + <function>require</function> génère une <link linkend="internal.e-error">erreur fatale</link>. En d'autres termes, n'hésitez pas à utiliser <function>require</function> si vous voulez qu'un fichier http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-snippets.ent?r1=1.158&r2=1.159&diff_format=u Index: phpdoc-fr/language-snippets.ent diff -u phpdoc-fr/language-snippets.ent:1.158 phpdoc-fr/language-snippets.ent:1.159 --- phpdoc-fr/language-snippets.ent:1.158 Sun Jan 21 09:17:43 2007 +++ phpdoc-fr/language-snippets.ent Sat Jan 27 14:44:42 2007 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.158 $ --> -<!-- EN-Revision: 1.184 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.159 $ --> +<!-- EN-Revision: 1.186 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <!-- NOTE AUX TRADUCTEURS : @@ -495,6 +495,21 @@ utilisez la valeur 99</para> </listitem></varlistentry>'> +<!-- FBSQL Notes --> +<!ENTITY fbsql.link-identifier.description '<varlistentry><term><parameter> +link_identifier</parameter></term><listitem><para>Un identifiant de lien FrontBase +retourné par la fonction <function>fbsql_connect</function> ou la fonction +<function>fbsql_pconnect</function>.</para><para>Si ce paramètre est optionnel +et qu'il n'est pas spécifié, la fonction tentera de trouver un lien ouvert vers le serveur +FrontBase et un tel lien n'est pas trouvé, la fonction tentera d'en créer un, +de la même façon que si la fonction <function>fbsql_connect</function> est appelée +sans aucun argument.</para></listitem></varlistentry>'> + +<!ENTITY fbsql.result.description '<varlistentry><term><parameter> +result</parameter></term><listitem><para>Un identifiant de résultat +retourné par la fonction <function>fbsql_query</function> ou la fonction +<function>fbsql_db_query</function>.</para></listitem></varlistentry>'> + <!-- Notes for SAPI/Apache --> <!ENTITY note.apache.nsapi-module '<note><para>Depuis &php; 4.3.3, vous pouvez utiliser cette fonction avec le <link linkend="ref.nsapi">module NSAPI</link> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcadd.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcadd.xml diff -u phpdoc-fr/reference/bc/functions/bcadd.xml:1.12 phpdoc-fr/reference/bc/functions/bcadd.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcadd.xml:1.12 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcadd.xml Sat Jan 27 14:44:42 2007 @@ -1,55 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcadd"> - <refnamediv> - <refname>bcadd</refname> - <refpurpose>Additionne deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcadd</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcadd</function> additionne <parameter>left_operand</parameter> avec - l'opérande <parameter>right_operand</parameter> et renvoie la somme sous - forme de chaîne de caractères. Le paramètre optionnel - <parameter>scale</parameter> est utilisé pour définir le nombre - de chiffres après la virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcadd</function></title> - <programlisting role="php"> +<refentry id="function.bcadd"> + <refnamediv> + <refname>bcadd</refname> + <refpurpose>Additionne deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcadd</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcadd</function> additionne <parameter>left_operand</parameter> avec + l'opérande <parameter>right_operand</parameter> et renvoie la somme sous + forme de chaîne de caractères. Le paramètre optionnel + <parameter>scale</parameter> est utilisé pour définir le nombre + de chiffres après la virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcadd</function></title> + <programlisting role="php"> <![CDATA[ <?php - + $a = '1.234'; $b = '5'; - + echo bcadd($a, $b); // 6 echo bcadd($a, $b, 4); // 6.2340 - + ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcsub</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcsub</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -70,4 +70,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bccomp.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bccomp.xml diff -u phpdoc-fr/reference/bc/functions/bccomp.xml:1.11 phpdoc-fr/reference/bc/functions/bccomp.xml:1.12 --- phpdoc-fr/reference/bc/functions/bccomp.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bccomp.xml Sat Jan 27 14:44:42 2007 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bccomp"> - <refnamediv> - <refname>bccomp</refname> - <refpurpose>Compare deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>bccomp</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bccomp</function> compare l'opérande <parameter>left_operand</parameter> - avec l'opérande <parameter>right_operand</parameter> et renvoie le - résultat sous forme de valeur numérique (entier). Le paramètre - optionnel <parameter>scale</parameter> est utilisé pour définir le - nombre de chiffres après la virgule utilisés lors de la - comparaison. Le résultat est 0 si les deux opérandes sont égaux. Si - l'opérande <parameter>left_operand</parameter> est plus grand que - l'opérande <parameter>right_operand</parameter>, le résultat est 1. - Si l'opérande <parameter>left_operand</parameter> est plus petit que - l'opérande <parameter>right_operand</parameter>, le résultat est -1. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bccomp</function></title> - <programlisting role="php"> +<refentry id="function.bccomp"> + <refnamediv> + <refname>bccomp</refname> + <refpurpose>Compare deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>bccomp</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bccomp</function> compare l'opérande <parameter>left_operand</parameter> + avec l'opérande <parameter>right_operand</parameter> et renvoie le + résultat sous forme de valeur numérique (entier). Le paramètre + optionnel <parameter>scale</parameter> est utilisé pour définir le + nombre de chiffres après la virgule utilisés lors de la + comparaison. Le résultat est 0 si les deux opérandes sont égaux. Si + l'opérande <parameter>left_operand</parameter> est plus grand que + l'opérande <parameter>right_operand</parameter>, le résultat est 1. + Si l'opérande <parameter>left_operand</parameter> est plus petit que + l'opérande <parameter>right_operand</parameter>, le résultat est -1. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bccomp</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,10 +43,10 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -67,4 +67,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcdiv.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcdiv.xml diff -u phpdoc-fr/reference/bc/functions/bcdiv.xml:1.11 phpdoc-fr/reference/bc/functions/bcdiv.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcdiv.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcdiv.xml Sat Jan 27 14:44:42 2007 @@ -1,51 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcdiv"> - <refnamediv> - <refname>bcdiv</refname> - <refpurpose>Divise deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcdiv</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcdiv</function> divise l'opérande <parameter>left_operand</parameter> - par l'opérande <parameter>right_operand</parameter> et renvoie le - résultat. Le paramètre optionnel <parameter>scale</parameter> - définit le nombre de chiffres après la virgule dans le résultat et par défaut vaut 0. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcdiv</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcdiv"> + <refnamediv> + <refname>bcdiv</refname> + <refpurpose>Divise deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcdiv</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcdiv</function> divise l'opérande <parameter>left_operand</parameter> + par l'opérande <parameter>right_operand</parameter> et renvoie le + résultat. Le paramètre optionnel <parameter>scale</parameter> + définit le nombre de chiffres après la virgule dans le résultat et par défaut vaut 0. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcdiv</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcdiv('105', '6.55957', 3); // 16.007 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcmul</function>. - </para> - </refsect1> - </refentry> - + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcmul</function>. + </para> + </refsect1> +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -65,4 +65,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcmod.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcmod.xml diff -u phpdoc-fr/reference/bc/functions/bcmod.xml:1.11 phpdoc-fr/reference/bc/functions/bcmod.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcmod.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcmod.xml Sat Jan 27 14:44:43 2007 @@ -1,48 +1,48 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcmod"> - <refnamediv> - <refname>bcmod</refname> - <refpurpose> - Retourne le reste d'une division entre nombres de grande taille - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcmod</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>modulus</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcmod</function> retourne le reste de la division entre - <parameter>left_operand</parameter> en utilisant <parameter>modulus</parameter>. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcmod</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcmod"> + <refnamediv> + <refname>bcmod</refname> + <refpurpose> + Retourne le reste d'une division entre nombres de grande taille + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcmod</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>modulus</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcmod</function> retourne le reste de la division entre + <parameter>left_operand</parameter> en utilisant <parameter>modulus</parameter>. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcmod</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcmod('4', '2'); // 0 echo bcmod('2', '4'); // 2 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcdiv</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcdiv</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -63,4 +63,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcmul.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcmul.xml diff -u phpdoc-fr/reference/bc/functions/bcmul.xml:1.12 phpdoc-fr/reference/bc/functions/bcmul.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcmul.xml:1.12 Sat Sep 2 12:51:27 2006 +++ phpdoc-fr/reference/bc/functions/bcmul.xml Sat Jan 27 14:44:43 2007 @@ -1,49 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcmul"> - <refnamediv> - <refname>bcmul</refname> - <refpurpose>Multiplie deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcmul</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcmul</function> multiplie l'opérande <parameter>left_operand</parameter> - par l'opérande <parameter>right_operand</parameter> et renvoie le résultat. - Le paramètre optionnel <parameter>scale</parameter> définit le nombre - de chiffres après la virgule dans le résultat (en tronquant). - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcmul</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcmul"> + <refnamediv> + <refname>bcmul</refname> + <refpurpose>Multiplie deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcmul</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcmul</function> multiplie l'opérande <parameter>left_operand</parameter> + par l'opérande <parameter>right_operand</parameter> et renvoie le résultat. + Le paramètre optionnel <parameter>scale</parameter> définit le nombre + de chiffres après la virgule dans le résultat (en tronquant). + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcmul</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcmul('1.34747474747', '35', 3); // 47.161 echo bcmul('2', '4'); // 8 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcdiv</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcdiv</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcpowmod.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcpowmod.xml diff -u phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.9 phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.10 --- phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.9 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcpowmod.xml Sat Jan 27 14:44:43 2007 @@ -1,49 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcpowmod"> - <refnamediv> - <refname>bcpowmod</refname> - <refpurpose> - Calcule le reste modulo d'un nombre élevé à une puissance - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcpowmod</methodname> - <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>string</type><parameter>y</parameter></methodparam> - <methodparam><type>string</type><parameter>modulus</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcpowmod</function> utilise la méthode d'exponentiation rapide - pour élever le nombre <parameter>x</parameter> à la puissance - <parameter>y</parameter>, et en calculant le reste modulo - <parameter>modulus</parameter>. Le paramètre optionnel - <parameter>scale</parameter> sert à indiquer le nombre de décimales - à utiliser dans le résultat. - </para> - <note> - <para> - Comme cette méthode utilise les opérations de modulo, les nombres - non naturels risquent de donner des résultats inattendus. Un nombre - naturel est un entier positif non-nul. - </para> - </note> - </refsect1> - <refsect1> - &reftitle.examples; - <para> - Les deux lignes suivantes sont fonctionnellement identiques. - La version qui utilise <function>bcpowmod</function> est bien - plus rapide, et accepte des paramètres plus grands. - <example> - <title>Exemple avec <function>bcpowmod</function></title> - <programlisting role="php"> +<refentry id="function.bcpowmod"> + <refnamediv> + <refname>bcpowmod</refname> + <refpurpose> + Calcule le reste modulo d'un nombre élevé à une puissance + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcpowmod</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> + <methodparam><type>string</type><parameter>modulus</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcpowmod</function> utilise la méthode d'exponentiation rapide + pour élever le nombre <parameter>x</parameter> à la puissance + <parameter>y</parameter>, et en calculant le reste modulo + <parameter>modulus</parameter>. Le paramètre optionnel + <parameter>scale</parameter> sert à indiquer le nombre de décimales + à utiliser dans le résultat. + </para> + <note> + <para> + Comme cette méthode utilise les opérations de modulo, les nombres + non naturels risquent de donner des résultats inattendus. Un nombre + naturel est un entier positif non-nul. + </para> + </note> + </refsect1> + <refsect1> + &reftitle.examples; + <para> + Les deux lignes suivantes sont fonctionnellement identiques. + La version qui utilise <function>bcpowmod</function> est bien + plus rapide, et accepte des paramètres plus grands. + <example> + <title>Exemple avec <function>bcpowmod</function></title> + <programlisting role="php"> <![CDATA[ <?php $a = bcpowmod($x, $y, $mod); @@ -54,18 +54,18 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpow</function>&listendand; - <function>bcmod</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpow</function>&listendand; + <function>bcmod</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -86,4 +86,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcpow.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcpow.xml diff -u phpdoc-fr/reference/bc/functions/bcpow.xml:1.12 phpdoc-fr/reference/bc/functions/bcpow.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcpow.xml:1.12 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcpow.xml Sat Jan 27 14:44:43 2007 @@ -1,51 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcpow"> - <refnamediv> - <refname>bcpow</refname> - <refpurpose>Élève un nombre à la puissance n-ième</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcpow</methodname> - <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>string</type><parameter>y</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcpow</function> élève <parameter>x</parameter> à - la puissance <parameter>y</parameter>. Le paramètre optionnel - <parameter>scale</parameter> définit le nombre de chiffres après - la virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcpow</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcpow"> + <refnamediv> + <refname>bcpow</refname> + <refpurpose>Élève un nombre à la puissance n-ième</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcpow</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcpow</function> élève <parameter>x</parameter> à + la puissance <parameter>y</parameter>. Le paramètre optionnel + <parameter>scale</parameter> définit le nombre de chiffres après + la virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcpow</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcpow('4.2', '3', 2); // 74.08 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpowmod</function>&listendand; - <function>bcsqrt</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpowmod</function>&listendand; + <function>bcsqrt</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -66,4 +66,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcscale.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcscale.xml diff -u phpdoc-fr/reference/bc/functions/bcscale.xml:1.9 phpdoc-fr/reference/bc/functions/bcscale.xml:1.10 --- phpdoc-fr/reference/bc/functions/bcscale.xml:1.9 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcscale.xml Sat Jan 27 14:44:43 2007 @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcscale"> - <refnamediv> - <refname>bcscale</refname> - <refpurpose> - Détermine le nombre de décimales par défaut - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>bcscale</methodname> - <methodparam><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcscale</function> définit la précision par défaut - pour toutes les fonctions mathématiques sur des nombres de taille - arbitraire qui suivent et qui omettent le paramètre <parameter>scale</parameter>. - &return.success;. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcscale</function></title> - <programlisting role="php"> +<refentry id="function.bcscale"> + <refnamediv> + <refname>bcscale</refname> + <refpurpose> + Détermine le nombre de décimales par défaut + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>bcscale</methodname> + <methodparam><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcscale</function> définit la précision par défaut + pour toutes les fonctions mathématiques sur des nombres de taille + arbitraire qui suivent et qui omettent le paramètre <parameter>scale</parameter>. + &return.success;. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcscale</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -40,10 +40,10 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -64,4 +64,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcsqrt.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcsqrt.xml diff -u phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.10 phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.11 --- phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.10 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcsqrt.xml Sat Jan 27 14:44:43 2007 @@ -1,34 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcsqrt"> - <refnamediv> - <refname>bcsqrt</refname> - <refpurpose> - Renvoie la racine carrée d'un nombre de grande taille - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcsqrt</methodname> - <methodparam><type>string</type><parameter>operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcsqrt</function> renvoie la racine carrée de l'opérande - <parameter>operand</parameter>. Le paramètre optionnel - <parameter>scale</parameter> définit le nombre de chiffres après la - virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcsqrt</function></title> - <programlisting role="php"> +<refentry id="function.bcsqrt"> + <refnamediv> + <refname>bcsqrt</refname> + <refpurpose> + Renvoie la racine carrée d'un nombre de grande taille + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcsqrt</methodname> + <methodparam><type>string</type><parameter>operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcsqrt</function> renvoie la racine carrée de l'opérande + <parameter>operand</parameter>. Le paramètre optionnel + <parameter>scale</parameter> définit le nombre de chiffres après la + virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcsqrt</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -36,16 +36,16 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpow</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpow</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -66,4 +66,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcsub.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcsub.xml diff -u phpdoc-fr/reference/bc/functions/bcsub.xml:1.11 phpdoc-fr/reference/bc/functions/bcsub.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcsub.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcsub.xml Sat Jan 27 14:44:43 2007 @@ -1,59 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcsub"> - <refnamediv> - <refname>bcsub</refname> - <refpurpose> - Soustrait un nombre de grande taille à un autre - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcsub</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcsub</function> soustrait l'opérande - <parameter>right_operand</parameter> à l'opérande - <parameter>left_operand</parameter> et renvoie le résultat - sous forme de chaîne de caractères. Le - paramètre optionnel <parameter>scale</parameter> - définit le nombre de chiffres après la virgule - dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcsub</function></title> - <programlisting role="php"> +<refentry id="function.bcsub"> + <refnamediv> + <refname>bcsub</refname> + <refpurpose> + Soustrait un nombre de grande taille à un autre + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcsub</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcsub</function> soustrait l'opérande + <parameter>right_operand</parameter> à l'opérande + <parameter>left_operand</parameter> et renvoie le résultat + sous forme de chaîne de caractères. Le + paramètre optionnel <parameter>scale</parameter> + définit le nombre de chiffres après la virgule + dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcsub</function></title> + <programlisting role="php"> <![CDATA[ <?php $a = '1.234'; $b = '5'; - + echo bcsub($a, $b); // -3 echo bcsub($a, $b, 4); // -3.7660 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcadd</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcadd</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -74,4 +74,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/errorfunc/functions/error-reporting.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/errorfunc/functions/error-reporting.xml diff -u phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.23 phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.24 --- phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.23 Mon Aug 28 12:53:37 2006 +++ phpdoc-fr/reference/errorfunc/functions/error-reporting.xml Sat Jan 27 14:44:43 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.error-reporting"> <refnamediv> <refname>error_reporting</refname> @@ -121,7 +122,7 @@ </entry> </row> <row> - <entry>2047</entry> + <entry>6143</entry> <entry> <link linkend="e-all">E_ALL</link> </entry> @@ -155,6 +156,36 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry><constant>E_STRICT</constant> est introduit (ne fait plus partie de <constant>E_ALL</constant>).</entry> + </row> + <row> + <entry>5.2.0</entry> + <entry><constant>E_RECOVERABLE_ERROR</constant> est introduit.</entry> + </row> + <row> + <entry>6</entry> + <entry><constant>E_STRICT</constant> devient une partie de <constant>E_ALL</constant>.</entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -195,15 +226,12 @@ &reftitle.notes; <warning> <simpara> - À partir de &php; 5.0.0, la constante <constant>E_STRICT</constant> avec comme valeur - 2048 est introduite. <constant>E_ALL</constant> n'inclut donc plus le - niveau d'erreur <constant>E_STRICT</constant> (mais en &php; 6, il - l'inclut). La plupart des erreurs <constant>E_STRICT</constant> sont évaluées au moment de la compilation, comme les erreurs qui ne sont pas reportées dans le fichier lorsque <link linkend="ini.error-reporting">error_reporting</link> - est défini pour inclure les erreurs <constant>E_STRICT</constant>. + est défini pour inclure les erreurs <constant>E_STRICT</constant> + (et vis-versa). </simpara> </warning> </refsect1> @@ -238,4 +266,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/exec/reference.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/exec/reference.xml diff -u phpdoc-fr/reference/exec/reference.xml:1.9 phpdoc-fr/reference/exec/reference.xml:1.10 --- phpdoc-fr/reference/exec/reference.xml:1.9 Mon Aug 28 12:10:32 2006 +++ phpdoc-fr/reference/exec/reference.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.10 Maintainer: dams Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: fileprocess.process --> <!-- Membership: core --> @@ -35,7 +35,10 @@ <section id="exec.resources"> &reftitle.resources; - &no.resource; + <para> + Cette extension définit une ressource <literal>process</literal>, retournée par + la fonction <function>proc_open</function>. + </para> </section> <section id="exec.constants"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml diff -u phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.11 phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.12 --- phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.11 Tue Jan 23 19:04:36 2007 +++ phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.fbsql-pconnect"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filesystem/functions/realpath.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/filesystem/functions/realpath.xml diff -u phpdoc-fr/reference/filesystem/functions/realpath.xml:1.12 phpdoc-fr/reference/filesystem/functions/realpath.xml:1.13 --- phpdoc-fr/reference/filesystem/functions/realpath.xml:1.12 Mon Aug 28 12:10:34 2006 +++ phpdoc-fr/reference/filesystem/functions/realpath.xml Sat Jan 27 14:44:43 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.realpath"> <refnamediv> <refname>realpath</refname> @@ -34,16 +35,23 @@ <programlisting role="php"> <![CDATA[ <?php - $real_path = realpath ("../../index.php"); +chdir('/var/www/'); +echo realpath('./../../etc/passwd'); ?> ]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +/etc/passwd +]]> + </screen> </example> </para> <para> Voir aussi <function>basename</function>, - <function>dirname</function> et + <function>dirname</function> et <function>pathinfo</function>. </para> </refsect1> @@ -68,4 +76,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.12 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.13 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.12 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.xmlrpc-decode-request"> @@ -11,7 +11,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>array</type><methodname>xmlrpc_decode_request</methodname> + <type>mixed</type><methodname>xmlrpc_decode_request</methodname> <methodparam><type>string</type><parameter>xml</parameter></methodparam> <methodparam><type>string</type><parameter role="reference">method</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.9 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.10 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.9 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml Sat Jan 27 14:44:43 2007 @@ -1,23 +1,73 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-decode"> <refnamediv> <refname>xmlrpc_decode</refname> - <refpurpose>Décode le code XML en types &php; natifs</refpurpose> + <refpurpose>Décode le XML en types &php; natifs</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>array</type><methodname>xmlrpc_decode</methodname> + <type>mixed</type><methodname>xmlrpc_decode</methodname> <methodparam><type>string</type><parameter>xml</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>xml</parameter></term> + <listitem> + <para> + Réponse XML retournée par la méthode XMLRPC. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Encodage d'entrée, supporté par iconv (par défaut, "iso-8859-1"). + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne soit un tableau, soit un entier, soit une chaîne, soit un booléen, + en fonction de la réponse retournée par la méthode XMLRPC. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + Voir l'exemple fourni avec la documentation de la fonction + <function>xmlrpc_encode_request</function>. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>xmlrpc_encode_request</function></member> + <member><function>xmlrpc_is_fault</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.9 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.10 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.9 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml Sat Jan 27 14:44:43 2007 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-encode-request"> <refnamediv> <refname>xmlrpc_encode_request</refname> - <refpurpose>Génère le code XML d'une requête de méthode</refpurpose> + <refpurpose>Génère le XML pour une méthode</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -17,8 +17,95 @@ <methodparam choice="opt"><type>array</type><parameter>output_options</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>method</parameter></term> + <listitem> + <para> + Nom de la méthode à appeler. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>params</parameter></term> + <listitem> + <para> + Paramètres de la méthode, compatible avec la signature de la méthode. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>output_options</parameter></term> + <listitem> + <para> + Tableau spécifiant les options de sortie pouvant contenir (les valeurs + par défaut sont en gras) : + <itemizedlist> + <listitem><para>output_type: php, <emphasis>xml</emphasis></para></listitem> + <listitem><para>verbosity: no_white_space, newlines_only, <emphasis>pretty</emphasis></para></listitem> + <listitem><para>escaping: cdata, <emphasis>non-ascii, non-print, markup</emphasis> + (peut être une chaîne avec une valeur ou un tableau avec plusieurs valeurs)</para></listitem> + <listitem><para>version: simple, <emphasis>xmlrpc</emphasis>, soap 1.1, auto</para></listitem> + <listitem><para>encoding: <emphasis>iso-8859-1</emphasis>, autres jeux de caractères supportés par iconv</para></listitem> + </itemizedlist> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne une chaîne contenant la représentation XML de la demande. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec XMLRPC</title> + <programlisting role="php"> +<![CDATA[ +<?php +$request = xmlrpc_encode_request("method", array(1, 2, 3)); +$context = stream_context_create(array('http' => array( + 'method' => "POST", + 'header' => "Content-Type: text/xml", + 'content' => $request +))); +$file = file_get_contents("http://www.example.com/xmlrpc", false, $context); +$response = xmlrpc_decode($file); +if (xmlrpc_is_fault($response)) { + trigger_error("xmlrpc: $response[faultString] ($response[faultCode])"); +} else { + print_r($response); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>stream_context_create</function></member> + <member><function>file_get_contents</function></member> + <member><function>xmlrpc_decode</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.6 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.7 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.6 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml Sat Jan 27 14:44:43 2007 @@ -1,14 +1,12 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-is-fault"> <refnamediv> <refname>xmlrpc_is_fault</refname> - <refpurpose> - Détermine si une valeur de tableau représente un XMLRPC - </refpurpose> + <refpurpose>Détermine si un tableau de valeurs représente un XMLRPC</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -17,8 +15,50 @@ <methodparam><type>array</type><parameter>arg</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + Tableau retourné par la fonction + <function>xmlrpc_decode</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'argument signifie <literal>fault</literal>, &false; sinon. La description de <literal>fault</literal> + est disponible dans la variable <literal>$arg["faultString"]</literal>, le code de <literal>fault</literal> + est disponible dans la variable <literal>$arg["faultCode"]</literal>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + See example by <function>xmlrpc_encode_request</function>. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>xmlrpc_decode</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlwriter/reference.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/xmlwriter/reference.xml diff -u phpdoc-fr/reference/xmlwriter/reference.xml:1.2 phpdoc-fr/reference/xmlwriter/reference.xml:1.3 --- phpdoc-fr/reference/xmlwriter/reference.xml:1.2 Mon Aug 28 12:53:54 2006 +++ phpdoc-fr/reference/xmlwriter/reference.xml Sat Jan 27 14:44:43 2007 @@ -1,38 +1,189 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: xml --> <!-- Membership: pecl --> + <reference id="ref.xmlwriter"> - <title>Fonctions xmlwriter</title> - <titleabbrev>xmlwriter</titleabbrev> + <title>Fonctions XMLWriter</title> + <titleabbrev>XMLWriter</titleabbrev> <partintro> <section id="xmlwriter.intro"> &reftitle.intro; <para> - Voici l'extension xmlwriter. - La documentation ne fait que lister les fonctions pour le moment. + Ceci est l'extension XMLWriter. Elle est basé sur l'API de la bibliothèque libxml xmlWriter. + </para> + <para> + Cette extension représente une écriture qui fournit la génération + de flux ou de fichiers contenant des données XML. </para> - </section> - <section id="xmlwriter.requirements"> - &reftitle.required; <para> + Cette extension peut être utilisée dans un style orienté objet ou un style + procédural. Chaque méthode documentée décrit l'appel procédural alternatif. </para> </section> - <!-- Information found in configure.xml --> - <!-- reference.xmlwriter.configure; --> - <!-- Information found in ini.xml --> - <!-- reference.xmlwriter.ini; --> + <section id='xmlwriter.classes'> + &reftitle.classes; + <para> + </para> + + <section id='xmlwriter.class.xmlwriter'> + <title><classname>XMLWriter</classname></title> + <para> + </para> + <section id='xmlreader.class.xmlwriter.methods'> + &reftitle.methods; + <itemizedlist> + <listitem> + <para><xref linkend="function.xmlwriter-end-attribute" /> - Attribut de fin</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-cdata" /> - Termine une section CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-comment" /> - Crée la fin d'un commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-document" /> - Termine le document courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-attlist" /> -Termine une AttList de la DTD courante</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-element" /> - Termine l'élément courant de la DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-entity" /> - Termine l'entité courante de la DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd" /> - Termine la DTD courante</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-element" /> - Termine l'élément courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-pi" /> - Termine le PI courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-flush" /> - Affiche le buffer courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-full-end-element" /> - Termine l'élément courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-open-memory" /> - Crée un nouveau xmlwriter en utilisant la mémoire pour l'affichage + des chaînes</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-open-uri" /> - Crée un nouveau xmlwriter en utilisant l'URI source pour + l'affichage</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-output-memory" /> - Retourne le buffer courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-set-indent-string" /> - Définit une chaîne qui sera utilisée pour l'indentation</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-set-indent" /> - Active ou désactive l'indentation</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-attribute-ns" /> - Crée un attribut d'espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-attribute" /> - Crée un attribut de départ</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-cdata" /> - Commence une section CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-comment" /> - Comment un commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-document" /> - Commence un document</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-attlist" /> - Commence une AttList d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-element" /> - Commence un élément de DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-entity" /> - Commence une entité d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd" /> - Commence une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-element-ns" /> - Commence un élément d'espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-element" /> - Commence un élément</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-pi" /> - Commence un PI</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-text" /> - Écrit du texte</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-attribute-ns" /> - Écrit un attribut d'un espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-attribute" /> - Écrit un attribut</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-cdata" /> - Écrit une balise CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-comment" /> - Écrit une balise de commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-attlist" /> - Écrit une balise AttList d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-element" /> - Écrit un élément d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-entity" /> - Écrit une entité d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd" /> - Écrit une balise DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-element-ns" /> - Écrit un élément d'un espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-element" /> - Écrit un élément</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-pi" /> - Écrit un PI</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-raw" /> - Écrit un texte raw XML</para> + </listitem> + </itemizedlist> + </section> + </section> + </section> <section id="xmlwriter.resources"> &reftitle.resources; <para> + Il y a une seule ressource utilisée par la version procédurale de l'extension XMLWriter, + retournée par la fonction <function>xmlwriter_open_memory</function> ou + <function>xmlwriter_open_uri</function>. </para> - &no.resource; </section> + + <section id="xmlwriter.constants"> + &reftitle.constants; + &no.constants; + </section> + </partintro> &reference.xmlwriter.functions; </reference> @@ -56,4 +207,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file
http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/reserved.xml?r1=1.52&r2=1.53&diff_format=u Index: phpdoc-fr/appendices/reserved.xml diff -u phpdoc-fr/appendices/reserved.xml:1.52 phpdoc-fr/appendices/reserved.xml:1.53 --- phpdoc-fr/appendices/reserved.xml:1.52 Mon Jul 10 08:42:52 2006 +++ phpdoc-fr/appendices/reserved.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.52 $ --> -<!-- EN-Revision: 1.61 Maintainer: dams Status: ready --> +<!-- $Revision: 1.53 $ --> +<!-- EN-Revision: 1.62 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix id="reserved"> @@ -579,6 +579,10 @@ <simpara> Définissez à une valeur non-vide si le script nécessite d'utiliser le protocole HTTPS. </simpara> + <simpara> + Noter que lors de l'utilisation de ISAPI avec IIS, la valeur sera + <literal>off</literal> si la demande n'a pas été faite via le protocole HTTPS. + </simpara> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/wrappers.xml?r1=1.40&r2=1.41&diff_format=u Index: phpdoc-fr/appendices/wrappers.xml diff -u phpdoc-fr/appendices/wrappers.xml:1.40 phpdoc-fr/appendices/wrappers.xml:1.41 --- phpdoc-fr/appendices/wrappers.xml:1.40 Sun Jan 21 09:17:43 2007 +++ phpdoc-fr/appendices/wrappers.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.40 $ --> -<!-- EN-Revision: 1.68 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.41 $ --> +<!-- EN-Revision: 1.69 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <appendix id="wrappers"> @@ -394,6 +394,14 @@ </entry> <entry>1.0</entry> </row> + <row> + <entry><literal>timeout</literal></entry> + <entry> + Lit de délai maximal en secondes, spécifié par un &float; (e.g. + <literal>10.5</literal>). Ajouté en &php; 5.2.1. + </entry> + <entry><link linkend="ini.default-socket-timeout">default_socket_timeout</link></entry> + </row> </tbody> </tgroup> </table> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/control-structures.xml?r1=1.84&r2=1.85&diff_format=u Index: phpdoc-fr/language/control-structures.xml diff -u phpdoc-fr/language/control-structures.xml:1.84 phpdoc-fr/language/control-structures.xml:1.85 --- phpdoc-fr/language/control-structures.xml:1.84 Wed Sep 6 19:42:09 2006 +++ phpdoc-fr/language/control-structures.xml Sat Jan 27 14:44:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.84 $ --> -<!-- EN-Revision: 1.135 Maintainer: dams Status: ready --> +<!-- $Revision: 1.85 $ --> +<!-- EN-Revision: 1.136 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter id="language.control-structures"> @@ -1273,9 +1273,8 @@ <simpara> <function>require</function> et <function>include</function> sont identiques, sauf dans leur façon de gérer les erreurs. - <function>include</function> produite une - <link linkend="internal.e-warning">Alerte (<literal>warning</literal>)</link> tandis - que <function>require</function> génère une + Ils produisent tous les deux une <link linkend="internal.e-warning">Alerte</link> + mais <function>require</function> génère une <link linkend="internal.e-error">erreur fatale</link>. En d'autres termes, n'hésitez pas à utiliser <function>require</function> si vous voulez qu'un fichier @@ -1349,10 +1348,9 @@ Cette documentation s'applique aussi à la fonction <function>require</function>. Les deux structures de langage sont identiques, hormis dans leur gestion des - erreurs. - <function>include</function> produit une - <link linkend="internal.e-warning">Alerte (<literal>warning</literal>)</link> tandis - que <function>require</function> génère une + erreurs. Ils produisent tous les deux un + <link linkend="internal.e-warning">Alerte</link> mais + <function>require</function> génère une <link linkend="internal.e-error">erreur fatale</link>. En d'autres termes, n'hésitez pas à utiliser <function>require</function> si vous voulez qu'un fichier http://cvs.php.net/viewvc.cgi/phpdoc-fr/language-snippets.ent?r1=1.158&r2=1.159&diff_format=u Index: phpdoc-fr/language-snippets.ent diff -u phpdoc-fr/language-snippets.ent:1.158 phpdoc-fr/language-snippets.ent:1.159 --- phpdoc-fr/language-snippets.ent:1.158 Sun Jan 21 09:17:43 2007 +++ phpdoc-fr/language-snippets.ent Sat Jan 27 14:44:42 2007 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.158 $ --> -<!-- EN-Revision: 1.184 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.159 $ --> +<!-- EN-Revision: 1.186 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <!-- NOTE AUX TRADUCTEURS : @@ -495,6 +495,21 @@ utilisez la valeur 99</para> </listitem></varlistentry>'> +<!-- FBSQL Notes --> +<!ENTITY fbsql.link-identifier.description '<varlistentry><term><parameter> +link_identifier</parameter></term><listitem><para>Un identifiant de lien FrontBase +retourné par la fonction <function>fbsql_connect</function> ou la fonction +<function>fbsql_pconnect</function>.</para><para>Si ce paramètre est optionnel +et qu'il n'est pas spécifié, la fonction tentera de trouver un lien ouvert vers le serveur +FrontBase et un tel lien n'est pas trouvé, la fonction tentera d'en créer un, +de la même façon que si la fonction <function>fbsql_connect</function> est appelée +sans aucun argument.</para></listitem></varlistentry>'> + +<!ENTITY fbsql.result.description '<varlistentry><term><parameter> +result</parameter></term><listitem><para>Un identifiant de résultat +retourné par la fonction <function>fbsql_query</function> ou la fonction +<function>fbsql_db_query</function>.</para></listitem></varlistentry>'> + <!-- Notes for SAPI/Apache --> <!ENTITY note.apache.nsapi-module '<note><para>Depuis &php; 4.3.3, vous pouvez utiliser cette fonction avec le <link linkend="ref.nsapi">module NSAPI</link> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcadd.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcadd.xml diff -u phpdoc-fr/reference/bc/functions/bcadd.xml:1.12 phpdoc-fr/reference/bc/functions/bcadd.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcadd.xml:1.12 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcadd.xml Sat Jan 27 14:44:42 2007 @@ -1,55 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcadd"> - <refnamediv> - <refname>bcadd</refname> - <refpurpose>Additionne deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcadd</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcadd</function> additionne <parameter>left_operand</parameter> avec - l'opérande <parameter>right_operand</parameter> et renvoie la somme sous - forme de chaîne de caractères. Le paramètre optionnel - <parameter>scale</parameter> est utilisé pour définir le nombre - de chiffres après la virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcadd</function></title> - <programlisting role="php"> +<refentry id="function.bcadd"> + <refnamediv> + <refname>bcadd</refname> + <refpurpose>Additionne deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcadd</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcadd</function> additionne <parameter>left_operand</parameter> avec + l'opérande <parameter>right_operand</parameter> et renvoie la somme sous + forme de chaîne de caractères. Le paramètre optionnel + <parameter>scale</parameter> est utilisé pour définir le nombre + de chiffres après la virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcadd</function></title> + <programlisting role="php"> <![CDATA[ <?php - + $a = '1.234'; $b = '5'; - + echo bcadd($a, $b); // 6 echo bcadd($a, $b, 4); // 6.2340 - + ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcsub</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcsub</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -70,4 +70,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bccomp.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bccomp.xml diff -u phpdoc-fr/reference/bc/functions/bccomp.xml:1.11 phpdoc-fr/reference/bc/functions/bccomp.xml:1.12 --- phpdoc-fr/reference/bc/functions/bccomp.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bccomp.xml Sat Jan 27 14:44:42 2007 @@ -1,39 +1,39 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bccomp"> - <refnamediv> - <refname>bccomp</refname> - <refpurpose>Compare deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>int</type><methodname>bccomp</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bccomp</function> compare l'opérande <parameter>left_operand</parameter> - avec l'opérande <parameter>right_operand</parameter> et renvoie le - résultat sous forme de valeur numérique (entier). Le paramètre - optionnel <parameter>scale</parameter> est utilisé pour définir le - nombre de chiffres après la virgule utilisés lors de la - comparaison. Le résultat est 0 si les deux opérandes sont égaux. Si - l'opérande <parameter>left_operand</parameter> est plus grand que - l'opérande <parameter>right_operand</parameter>, le résultat est 1. - Si l'opérande <parameter>left_operand</parameter> est plus petit que - l'opérande <parameter>right_operand</parameter>, le résultat est -1. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bccomp</function></title> - <programlisting role="php"> +<refentry id="function.bccomp"> + <refnamediv> + <refname>bccomp</refname> + <refpurpose>Compare deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>bccomp</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bccomp</function> compare l'opérande <parameter>left_operand</parameter> + avec l'opérande <parameter>right_operand</parameter> et renvoie le + résultat sous forme de valeur numérique (entier). Le paramètre + optionnel <parameter>scale</parameter> est utilisé pour définir le + nombre de chiffres après la virgule utilisés lors de la + comparaison. Le résultat est 0 si les deux opérandes sont égaux. Si + l'opérande <parameter>left_operand</parameter> est plus grand que + l'opérande <parameter>right_operand</parameter>, le résultat est 1. + Si l'opérande <parameter>left_operand</parameter> est plus petit que + l'opérande <parameter>right_operand</parameter>, le résultat est -1. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bccomp</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -43,10 +43,10 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -67,4 +67,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcdiv.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcdiv.xml diff -u phpdoc-fr/reference/bc/functions/bcdiv.xml:1.11 phpdoc-fr/reference/bc/functions/bcdiv.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcdiv.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcdiv.xml Sat Jan 27 14:44:42 2007 @@ -1,51 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcdiv"> - <refnamediv> - <refname>bcdiv</refname> - <refpurpose>Divise deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcdiv</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcdiv</function> divise l'opérande <parameter>left_operand</parameter> - par l'opérande <parameter>right_operand</parameter> et renvoie le - résultat. Le paramètre optionnel <parameter>scale</parameter> - définit le nombre de chiffres après la virgule dans le résultat et par défaut vaut 0. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcdiv</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcdiv"> + <refnamediv> + <refname>bcdiv</refname> + <refpurpose>Divise deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcdiv</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcdiv</function> divise l'opérande <parameter>left_operand</parameter> + par l'opérande <parameter>right_operand</parameter> et renvoie le + résultat. Le paramètre optionnel <parameter>scale</parameter> + définit le nombre de chiffres après la virgule dans le résultat et par défaut vaut 0. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcdiv</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcdiv('105', '6.55957', 3); // 16.007 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcmul</function>. - </para> - </refsect1> - </refentry> - + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcmul</function>. + </para> + </refsect1> +</refentry> + <!-- Keep this comment at the end of the file Local variables: mode: sgml @@ -65,4 +65,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcmod.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcmod.xml diff -u phpdoc-fr/reference/bc/functions/bcmod.xml:1.11 phpdoc-fr/reference/bc/functions/bcmod.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcmod.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcmod.xml Sat Jan 27 14:44:43 2007 @@ -1,48 +1,48 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcmod"> - <refnamediv> - <refname>bcmod</refname> - <refpurpose> - Retourne le reste d'une division entre nombres de grande taille - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcmod</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>modulus</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcmod</function> retourne le reste de la division entre - <parameter>left_operand</parameter> en utilisant <parameter>modulus</parameter>. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcmod</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcmod"> + <refnamediv> + <refname>bcmod</refname> + <refpurpose> + Retourne le reste d'une division entre nombres de grande taille + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcmod</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>modulus</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcmod</function> retourne le reste de la division entre + <parameter>left_operand</parameter> en utilisant <parameter>modulus</parameter>. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcmod</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcmod('4', '2'); // 0 echo bcmod('2', '4'); // 2 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcdiv</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcdiv</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -63,4 +63,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcmul.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcmul.xml diff -u phpdoc-fr/reference/bc/functions/bcmul.xml:1.12 phpdoc-fr/reference/bc/functions/bcmul.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcmul.xml:1.12 Sat Sep 2 12:51:27 2006 +++ phpdoc-fr/reference/bc/functions/bcmul.xml Sat Jan 27 14:44:43 2007 @@ -1,49 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcmul"> - <refnamediv> - <refname>bcmul</refname> - <refpurpose>Multiplie deux nombres de grande taille</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcmul</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcmul</function> multiplie l'opérande <parameter>left_operand</parameter> - par l'opérande <parameter>right_operand</parameter> et renvoie le résultat. - Le paramètre optionnel <parameter>scale</parameter> définit le nombre - de chiffres après la virgule dans le résultat (en tronquant). - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcmul</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcmul"> + <refnamediv> + <refname>bcmul</refname> + <refpurpose>Multiplie deux nombres de grande taille</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcmul</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcmul</function> multiplie l'opérande <parameter>left_operand</parameter> + par l'opérande <parameter>right_operand</parameter> et renvoie le résultat. + Le paramètre optionnel <parameter>scale</parameter> définit le nombre + de chiffres après la virgule dans le résultat (en tronquant). + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcmul</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcmul('1.34747474747', '35', 3); // 47.161 echo bcmul('2', '4'); // 8 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcdiv</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcdiv</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcpowmod.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcpowmod.xml diff -u phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.9 phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.10 --- phpdoc-fr/reference/bc/functions/bcpowmod.xml:1.9 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcpowmod.xml Sat Jan 27 14:44:43 2007 @@ -1,49 +1,49 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcpowmod"> - <refnamediv> - <refname>bcpowmod</refname> - <refpurpose> - Calcule le reste modulo d'un nombre élevé à une puissance - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcpowmod</methodname> - <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>string</type><parameter>y</parameter></methodparam> - <methodparam><type>string</type><parameter>modulus</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcpowmod</function> utilise la méthode d'exponentiation rapide - pour élever le nombre <parameter>x</parameter> à la puissance - <parameter>y</parameter>, et en calculant le reste modulo - <parameter>modulus</parameter>. Le paramètre optionnel - <parameter>scale</parameter> sert à indiquer le nombre de décimales - à utiliser dans le résultat. - </para> - <note> - <para> - Comme cette méthode utilise les opérations de modulo, les nombres - non naturels risquent de donner des résultats inattendus. Un nombre - naturel est un entier positif non-nul. - </para> - </note> - </refsect1> - <refsect1> - &reftitle.examples; - <para> - Les deux lignes suivantes sont fonctionnellement identiques. - La version qui utilise <function>bcpowmod</function> est bien - plus rapide, et accepte des paramètres plus grands. - <example> - <title>Exemple avec <function>bcpowmod</function></title> - <programlisting role="php"> +<refentry id="function.bcpowmod"> + <refnamediv> + <refname>bcpowmod</refname> + <refpurpose> + Calcule le reste modulo d'un nombre élevé à une puissance + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcpowmod</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> + <methodparam><type>string</type><parameter>modulus</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcpowmod</function> utilise la méthode d'exponentiation rapide + pour élever le nombre <parameter>x</parameter> à la puissance + <parameter>y</parameter>, et en calculant le reste modulo + <parameter>modulus</parameter>. Le paramètre optionnel + <parameter>scale</parameter> sert à indiquer le nombre de décimales + à utiliser dans le résultat. + </para> + <note> + <para> + Comme cette méthode utilise les opérations de modulo, les nombres + non naturels risquent de donner des résultats inattendus. Un nombre + naturel est un entier positif non-nul. + </para> + </note> + </refsect1> + <refsect1> + &reftitle.examples; + <para> + Les deux lignes suivantes sont fonctionnellement identiques. + La version qui utilise <function>bcpowmod</function> est bien + plus rapide, et accepte des paramètres plus grands. + <example> + <title>Exemple avec <function>bcpowmod</function></title> + <programlisting role="php"> <![CDATA[ <?php $a = bcpowmod($x, $y, $mod); @@ -54,18 +54,18 @@ ?> ]]> - </programlisting> - </example> - </para> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpow</function>&listendand; - <function>bcmod</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpow</function>&listendand; + <function>bcmod</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -86,4 +86,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcpow.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcpow.xml diff -u phpdoc-fr/reference/bc/functions/bcpow.xml:1.12 phpdoc-fr/reference/bc/functions/bcpow.xml:1.13 --- phpdoc-fr/reference/bc/functions/bcpow.xml:1.12 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcpow.xml Sat Jan 27 14:44:43 2007 @@ -1,51 +1,51 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.9 Maintainer: didou Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcpow"> - <refnamediv> - <refname>bcpow</refname> - <refpurpose>Élève un nombre à la puissance n-ième</refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcpow</methodname> - <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>string</type><parameter>y</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcpow</function> élève <parameter>x</parameter> à - la puissance <parameter>y</parameter>. Le paramètre optionnel - <parameter>scale</parameter> définit le nombre de chiffres après - la virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcpow</function></title> - <programlisting role="php"> -<![CDATA[ +<refentry id="function.bcpow"> + <refnamediv> + <refname>bcpow</refname> + <refpurpose>Élève un nombre à la puissance n-ième</refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcpow</methodname> + <methodparam><type>string</type><parameter>x</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcpow</function> élève <parameter>x</parameter> à + la puissance <parameter>y</parameter>. Le paramètre optionnel + <parameter>scale</parameter> définit le nombre de chiffres après + la virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcpow</function></title> + <programlisting role="php"> + <![CDATA[ <?php echo bcpow('4.2', '3', 2); // 74.08 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpowmod</function>&listendand; - <function>bcsqrt</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpowmod</function>&listendand; + <function>bcsqrt</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -66,4 +66,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcscale.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcscale.xml diff -u phpdoc-fr/reference/bc/functions/bcscale.xml:1.9 phpdoc-fr/reference/bc/functions/bcscale.xml:1.10 --- phpdoc-fr/reference/bc/functions/bcscale.xml:1.9 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcscale.xml Sat Jan 27 14:44:43 2007 @@ -1,33 +1,33 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.8 Maintainer: didou Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcscale"> - <refnamediv> - <refname>bcscale</refname> - <refpurpose> - Détermine le nombre de décimales par défaut - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>bool</type><methodname>bcscale</methodname> - <methodparam><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcscale</function> définit la précision par défaut - pour toutes les fonctions mathématiques sur des nombres de taille - arbitraire qui suivent et qui omettent le paramètre <parameter>scale</parameter>. - &return.success;. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcscale</function></title> - <programlisting role="php"> +<refentry id="function.bcscale"> + <refnamediv> + <refname>bcscale</refname> + <refpurpose> + Détermine le nombre de décimales par défaut + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>bcscale</methodname> + <methodparam><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcscale</function> définit la précision par défaut + pour toutes les fonctions mathématiques sur des nombres de taille + arbitraire qui suivent et qui omettent le paramètre <parameter>scale</parameter>. + &return.success;. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcscale</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -40,10 +40,10 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -64,4 +64,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcsqrt.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcsqrt.xml diff -u phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.10 phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.11 --- phpdoc-fr/reference/bc/functions/bcsqrt.xml:1.10 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcsqrt.xml Sat Jan 27 14:44:43 2007 @@ -1,34 +1,34 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcsqrt"> - <refnamediv> - <refname>bcsqrt</refname> - <refpurpose> - Renvoie la racine carrée d'un nombre de grande taille - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcsqrt</methodname> - <methodparam><type>string</type><parameter>operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcsqrt</function> renvoie la racine carrée de l'opérande - <parameter>operand</parameter>. Le paramètre optionnel - <parameter>scale</parameter> définit le nombre de chiffres après la - virgule dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcsqrt</function></title> - <programlisting role="php"> +<refentry id="function.bcsqrt"> + <refnamediv> + <refname>bcsqrt</refname> + <refpurpose> + Renvoie la racine carrée d'un nombre de grande taille + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcsqrt</methodname> + <methodparam><type>string</type><parameter>operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcsqrt</function> renvoie la racine carrée de l'opérande + <parameter>operand</parameter>. Le paramètre optionnel + <parameter>scale</parameter> définit le nombre de chiffres après la + virgule dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcsqrt</function></title> + <programlisting role="php"> <![CDATA[ <?php @@ -36,16 +36,16 @@ ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcpow</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcpow</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -66,4 +66,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/bc/functions/bcsub.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/bc/functions/bcsub.xml diff -u phpdoc-fr/reference/bc/functions/bcsub.xml:1.11 phpdoc-fr/reference/bc/functions/bcsub.xml:1.12 --- phpdoc-fr/reference/bc/functions/bcsub.xml:1.11 Sun Aug 27 20:25:34 2006 +++ phpdoc-fr/reference/bc/functions/bcsub.xml Sat Jan 27 14:44:43 2007 @@ -1,59 +1,59 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: didou Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> - <refentry id="function.bcsub"> - <refnamediv> - <refname>bcsub</refname> - <refpurpose> - Soustrait un nombre de grande taille à un autre - </refpurpose> - </refnamediv> - <refsect1> - &reftitle.description; - <methodsynopsis> - <type>string</type><methodname>bcsub</methodname> - <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> - <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - <function>bcsub</function> soustrait l'opérande - <parameter>right_operand</parameter> à l'opérande - <parameter>left_operand</parameter> et renvoie le résultat - sous forme de chaîne de caractères. Le - paramètre optionnel <parameter>scale</parameter> - définit le nombre de chiffres après la virgule - dans le résultat. - </para> - </refsect1> - <refsect1> - &reftitle.examples; - <example> - <title>Exemple avec <function>bcsub</function></title> - <programlisting role="php"> +<refentry id="function.bcsub"> + <refnamediv> + <refname>bcsub</refname> + <refpurpose> + Soustrait un nombre de grande taille à un autre + </refpurpose> + </refnamediv> + <refsect1> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>bcsub</methodname> + <methodparam><type>string</type><parameter>left_operand</parameter></methodparam> + <methodparam><type>string</type><parameter>right_operand</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + <function>bcsub</function> soustrait l'opérande + <parameter>right_operand</parameter> à l'opérande + <parameter>left_operand</parameter> et renvoie le résultat + sous forme de chaîne de caractères. Le + paramètre optionnel <parameter>scale</parameter> + définit le nombre de chiffres après la virgule + dans le résultat. + </para> + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title>Exemple avec <function>bcsub</function></title> + <programlisting role="php"> <![CDATA[ <?php $a = '1.234'; $b = '5'; - + echo bcsub($a, $b); // -3 echo bcsub($a, $b, 4); // -3.7660 ?> ]]> - </programlisting> - </example> - </refsect1> - <refsect1> - &reftitle.seealso; - <para> - <function>bcadd</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </refsect1> + <refsect1> + &reftitle.seealso; + <para> + <function>bcadd</function>. + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -74,4 +74,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/errorfunc/functions/error-reporting.xml?r1=1.23&r2=1.24&diff_format=u Index: phpdoc-fr/reference/errorfunc/functions/error-reporting.xml diff -u phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.23 phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.24 --- phpdoc-fr/reference/errorfunc/functions/error-reporting.xml:1.23 Mon Aug 28 12:53:37 2006 +++ phpdoc-fr/reference/errorfunc/functions/error-reporting.xml Sat Jan 27 14:44:43 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.23 $ --> -<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.24 $ --> +<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.error-reporting"> <refnamediv> <refname>error_reporting</refname> @@ -121,7 +122,7 @@ </entry> </row> <row> - <entry>2047</entry> + <entry>6143</entry> <entry> <link linkend="e-all">E_ALL</link> </entry> @@ -155,6 +156,36 @@ </para> </refsect1> + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry><constant>E_STRICT</constant> est introduit (ne fait plus partie de <constant>E_ALL</constant>).</entry> + </row> + <row> + <entry>5.2.0</entry> + <entry><constant>E_RECOVERABLE_ERROR</constant> est introduit.</entry> + </row> + <row> + <entry>6</entry> + <entry><constant>E_STRICT</constant> devient une partie de <constant>E_ALL</constant>.</entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -195,15 +226,12 @@ &reftitle.notes; <warning> <simpara> - À partir de &php; 5.0.0, la constante <constant>E_STRICT</constant> avec comme valeur - 2048 est introduite. <constant>E_ALL</constant> n'inclut donc plus le - niveau d'erreur <constant>E_STRICT</constant> (mais en &php; 6, il - l'inclut). La plupart des erreurs <constant>E_STRICT</constant> sont évaluées au moment de la compilation, comme les erreurs qui ne sont pas reportées dans le fichier lorsque <link linkend="ini.error-reporting">error_reporting</link> - est défini pour inclure les erreurs <constant>E_STRICT</constant>. + est défini pour inclure les erreurs <constant>E_STRICT</constant> + (et vis-versa). </simpara> </warning> </refsect1> @@ -238,4 +266,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/exec/reference.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/exec/reference.xml diff -u phpdoc-fr/reference/exec/reference.xml:1.9 phpdoc-fr/reference/exec/reference.xml:1.10 --- phpdoc-fr/reference/exec/reference.xml:1.9 Mon Aug 28 12:10:32 2006 +++ phpdoc-fr/reference/exec/reference.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.10 Maintainer: dams Status: ready --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: fileprocess.process --> <!-- Membership: core --> @@ -35,7 +35,10 @@ <section id="exec.resources"> &reftitle.resources; - &no.resource; + <para> + Cette extension définit une ressource <literal>process</literal>, retournée par + la fonction <function>proc_open</function>. + </para> </section> <section id="exec.constants"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml diff -u phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.11 phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.12 --- phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml:1.11 Tue Jan 23 19:04:36 2007 +++ phpdoc-fr/reference/fbsql/functions/fbsql-pconnect.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.fbsql-pconnect"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filesystem/functions/realpath.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/filesystem/functions/realpath.xml diff -u phpdoc-fr/reference/filesystem/functions/realpath.xml:1.12 phpdoc-fr/reference/filesystem/functions/realpath.xml:1.13 --- phpdoc-fr/reference/filesystem/functions/realpath.xml:1.12 Mon Aug 28 12:10:34 2006 +++ phpdoc-fr/reference/filesystem/functions/realpath.xml Sat Jan 27 14:44:43 2007 @@ -1,7 +1,8 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.8 Maintainer: dams Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> + <refentry id="function.realpath"> <refnamediv> <refname>realpath</refname> @@ -34,16 +35,23 @@ <programlisting role="php"> <![CDATA[ <?php - $real_path = realpath ("../../index.php"); +chdir('/var/www/'); +echo realpath('./../../etc/passwd'); ?> ]]> </programlisting> + &example.outputs; + <screen> +<![CDATA[ +/etc/passwd +]]> + </screen> </example> </para> <para> Voir aussi <function>basename</function>, - <function>dirname</function> et + <function>dirname</function> et <function>pathinfo</function>. </para> </refsect1> @@ -68,4 +76,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.12 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.13 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml:1.12 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode-request.xml Sat Jan 27 14:44:43 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.xmlrpc-decode-request"> @@ -11,7 +11,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>array</type><methodname>xmlrpc_decode_request</methodname> + <type>mixed</type><methodname>xmlrpc_decode_request</methodname> <methodparam><type>string</type><parameter>xml</parameter></methodparam> <methodparam><type>string</type><parameter role="reference">method</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.9 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.10 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml:1.9 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-decode.xml Sat Jan 27 14:44:43 2007 @@ -1,23 +1,73 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-decode"> <refnamediv> <refname>xmlrpc_decode</refname> - <refpurpose>Décode le code XML en types &php; natifs</refpurpose> + <refpurpose>Décode le XML en types &php; natifs</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>array</type><methodname>xmlrpc_decode</methodname> + <type>mixed</type><methodname>xmlrpc_decode</methodname> <methodparam><type>string</type><parameter>xml</parameter></methodparam> <methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>xml</parameter></term> + <listitem> + <para> + Réponse XML retournée par la méthode XMLRPC. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>encoding</parameter></term> + <listitem> + <para> + Encodage d'entrée, supporté par iconv (par défaut, "iso-8859-1"). + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne soit un tableau, soit un entier, soit une chaîne, soit un booléen, + en fonction de la réponse retournée par la méthode XMLRPC. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + Voir l'exemple fourni avec la documentation de la fonction + <function>xmlrpc_encode_request</function>. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>xmlrpc_encode_request</function></member> + <member><function>xmlrpc_is_fault</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml?r1=1.9&r2=1.10&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.9 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.10 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml:1.9 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-encode-request.xml Sat Jan 27 14:44:43 2007 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.10 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-encode-request"> <refnamediv> <refname>xmlrpc_encode_request</refname> - <refpurpose>Génère le code XML d'une requête de méthode</refpurpose> + <refpurpose>Génère le XML pour une méthode</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -17,8 +17,95 @@ <methodparam choice="opt"><type>array</type><parameter>output_options</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>method</parameter></term> + <listitem> + <para> + Nom de la méthode à appeler. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>params</parameter></term> + <listitem> + <para> + Paramètres de la méthode, compatible avec la signature de la méthode. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>output_options</parameter></term> + <listitem> + <para> + Tableau spécifiant les options de sortie pouvant contenir (les valeurs + par défaut sont en gras) : + <itemizedlist> + <listitem><para>output_type: php, <emphasis>xml</emphasis></para></listitem> + <listitem><para>verbosity: no_white_space, newlines_only, <emphasis>pretty</emphasis></para></listitem> + <listitem><para>escaping: cdata, <emphasis>non-ascii, non-print, markup</emphasis> + (peut être une chaîne avec une valeur ou un tableau avec plusieurs valeurs)</para></listitem> + <listitem><para>version: simple, <emphasis>xmlrpc</emphasis>, soap 1.1, auto</para></listitem> + <listitem><para>encoding: <emphasis>iso-8859-1</emphasis>, autres jeux de caractères supportés par iconv</para></listitem> + </itemizedlist> + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne une chaîne contenant la représentation XML de la demande. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec XMLRPC</title> + <programlisting role="php"> +<![CDATA[ +<?php +$request = xmlrpc_encode_request("method", array(1, 2, 3)); +$context = stream_context_create(array('http' => array( + 'method' => "POST", + 'header' => "Content-Type: text/xml", + 'content' => $request +))); +$file = file_get_contents("http://www.example.com/xmlrpc", false, $context); +$response = xmlrpc_decode($file); +if (xmlrpc_is_fault($response)) { + trigger_error("xmlrpc: $response[faultString] ($response[faultCode])"); +} else { + print_r($response); +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>stream_context_create</function></member> + <member><function>file_get_contents</function></member> + <member><function>xmlrpc_decode</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml diff -u phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.6 phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.7 --- phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml:1.6 Sat Jan 13 23:40:17 2007 +++ phpdoc-fr/reference/xmlrpc/functions/xmlrpc-is-fault.xml Sat Jan 27 14:44:43 2007 @@ -1,14 +1,12 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> -<!-- Reviewed: yes --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- Reviewed: no --> <refentry id="function.xmlrpc-is-fault"> <refnamediv> <refname>xmlrpc_is_fault</refname> - <refpurpose> - Détermine si une valeur de tableau représente un XMLRPC - </refpurpose> + <refpurpose>Détermine si un tableau de valeurs représente un XMLRPC</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; @@ -17,8 +15,50 @@ <methodparam><type>array</type><parameter>arg</parameter></methodparam> </methodsynopsis> &warn.experimental.func; - &warn.undocumented.func; </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + Tableau retourné par la fonction + <function>xmlrpc_decode</function>. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + Retourne &true; si l'argument signifie <literal>fault</literal>, &false; sinon. La description de <literal>fault</literal> + est disponible dans la variable <literal>$arg["faultString"]</literal>, le code de <literal>fault</literal> + est disponible dans la variable <literal>$arg["faultCode"]</literal>. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + See example by <function>xmlrpc_encode_request</function>. + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>xmlrpc_decode</function></member> + </simplelist> + </para> + </refsect1> + </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/xmlwriter/reference.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/xmlwriter/reference.xml diff -u phpdoc-fr/reference/xmlwriter/reference.xml:1.2 phpdoc-fr/reference/xmlwriter/reference.xml:1.3 --- phpdoc-fr/reference/xmlwriter/reference.xml:1.2 Mon Aug 28 12:53:54 2006 +++ phpdoc-fr/reference/xmlwriter/reference.xml Sat Jan 27 14:44:43 2007 @@ -1,38 +1,189 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <!-- Purpose: xml --> <!-- Membership: pecl --> + <reference id="ref.xmlwriter"> - <title>Fonctions xmlwriter</title> - <titleabbrev>xmlwriter</titleabbrev> + <title>Fonctions XMLWriter</title> + <titleabbrev>XMLWriter</titleabbrev> <partintro> <section id="xmlwriter.intro"> &reftitle.intro; <para> - Voici l'extension xmlwriter. - La documentation ne fait que lister les fonctions pour le moment. + Ceci est l'extension XMLWriter. Elle est basé sur l'API de la bibliothèque libxml xmlWriter. + </para> + <para> + Cette extension représente une écriture qui fournit la génération + de flux ou de fichiers contenant des données XML. </para> - </section> - <section id="xmlwriter.requirements"> - &reftitle.required; <para> + Cette extension peut être utilisée dans un style orienté objet ou un style + procédural. Chaque méthode documentée décrit l'appel procédural alternatif. </para> </section> - <!-- Information found in configure.xml --> - <!-- reference.xmlwriter.configure; --> - <!-- Information found in ini.xml --> - <!-- reference.xmlwriter.ini; --> + <section id='xmlwriter.classes'> + &reftitle.classes; + <para> + </para> + + <section id='xmlwriter.class.xmlwriter'> + <title><classname>XMLWriter</classname></title> + <para> + </para> + <section id='xmlreader.class.xmlwriter.methods'> + &reftitle.methods; + <itemizedlist> + <listitem> + <para><xref linkend="function.xmlwriter-end-attribute" /> - Attribut de fin</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-cdata" /> - Termine une section CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-comment" /> - Crée la fin d'un commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-document" /> - Termine le document courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-attlist" /> -Termine une AttList de la DTD courante</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-element" /> - Termine l'élément courant de la DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd-entity" /> - Termine l'entité courante de la DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-dtd" /> - Termine la DTD courante</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-element" /> - Termine l'élément courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-end-pi" /> - Termine le PI courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-flush" /> - Affiche le buffer courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-full-end-element" /> - Termine l'élément courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-open-memory" /> - Crée un nouveau xmlwriter en utilisant la mémoire pour l'affichage + des chaînes</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-open-uri" /> - Crée un nouveau xmlwriter en utilisant l'URI source pour + l'affichage</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-output-memory" /> - Retourne le buffer courant</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-set-indent-string" /> - Définit une chaîne qui sera utilisée pour l'indentation</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-set-indent" /> - Active ou désactive l'indentation</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-attribute-ns" /> - Crée un attribut d'espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-attribute" /> - Crée un attribut de départ</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-cdata" /> - Commence une section CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-comment" /> - Comment un commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-document" /> - Commence un document</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-attlist" /> - Commence une AttList d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-element" /> - Commence un élément de DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd-entity" /> - Commence une entité d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-dtd" /> - Commence une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-element-ns" /> - Commence un élément d'espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-element" /> - Commence un élément</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-start-pi" /> - Commence un PI</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-text" /> - Écrit du texte</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-attribute-ns" /> - Écrit un attribut d'un espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-attribute" /> - Écrit un attribut</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-cdata" /> - Écrit une balise CDATA</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-comment" /> - Écrit une balise de commentaire</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-attlist" /> - Écrit une balise AttList d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-element" /> - Écrit un élément d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd-entity" /> - Écrit une entité d'une DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-dtd" /> - Écrit une balise DTD</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-element-ns" /> - Écrit un élément d'un espace de noms</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-element" /> - Écrit un élément</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-pi" /> - Écrit un PI</para> + </listitem> + <listitem> + <para><xref linkend="function.xmlwriter-write-raw" /> - Écrit un texte raw XML</para> + </listitem> + </itemizedlist> + </section> + </section> + </section> <section id="xmlwriter.resources"> &reftitle.resources; <para> + Il y a une seule ressource utilisée par la version procédurale de l'extension XMLWriter, + retournée par la fonction <function>xmlwriter_open_memory</function> ou + <function>xmlwriter_open_uri</function>. </para> - &no.resource; </section> + + <section id="xmlwriter.constants"> + &reftitle.constants; + &no.constants; + </section> + </partintro> &reference.xmlwriter.functions; </reference> @@ -56,4 +207,4 @@ vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file