cvs: phpdoc-fr /faq installation.xml /language operators.xml /reference/dbase/functions dbase-replace-record.xml /reference/hash/functions
hash-init.xml /reference/iconv/functions iconv-substr.xml /reference/image/functions imagepsbbox.xml /reference/info/functions ini-get-all.xml

From: Date: Thu, 08 May 2008 08:06:22 +0000
Subject: cvs: phpdoc-fr /faq installation.xml /language operators.xml /reference/dbase/functions dbase-replace-record.xml /reference/hash/functions
hash-init.xml /reference/iconv/functions iconv-substr.xml /reference/image/functions imagepsbbox.xml /reference/info/functions ini-get-all.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-5845@lists.php.net to get a copy of this message
yannick Thu May 8 08:06:22 2008 UTC Modified files: /phpdoc-fr/faq installation.xml /phpdoc-fr/language operators.xml /phpdoc-fr/reference/dbase/functions dbase-replace-record.xml /phpdoc-fr/reference/hash/functions hash-init.xml /phpdoc-fr/reference/iconv/functions iconv-substr.xml /phpdoc-fr/reference/image/functions imagepsbbox.xml /phpdoc-fr/reference/info/functions ini-get-all.xml Log: syn with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/faq/installation.xml?r1=1.39&r2=1.40&diff_format=u Index: phpdoc-fr/faq/installation.xml diff -u phpdoc-fr/faq/installation.xml:1.39 phpdoc-fr/faq/installation.xml:1.40 --- phpdoc-fr/faq/installation.xml:1.39 Sat Apr 12 22:24:48 2008 +++ phpdoc-fr/faq/installation.xml Thu May 8 08:06:21 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.39 $ --> -<!-- EN-Revision: 1.51 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.40 $ --> +<!-- EN-Revision: 1.52 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <chapter xml:id="faq.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -403,7 +403,7 @@ <answer> <para> Pour être sûr que votre &php.ini; a été lu par PHP, effectuez un appel à la fonction - <function>phpinfo</function> et vers le haut du document résultant, il devrait figurer + <function>phpinfo</function>. Vers le haut du document résultant, il devrait figurer une liste appelée <literal>Configuration File (php.ini)</literal>. Cela vous indiquera où PHP a cherché le &php.ini; et si oui ou non il l'a lu. S'il n'apparaît qu'un chemin vers un répertoire existant, cela signifie que http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/operators.xml?r1=1.103&r2=1.104&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.103 phpdoc-fr/language/operators.xml:1.104 --- phpdoc-fr/language/operators.xml:1.103 Mon Apr 28 17:53:22 2008 +++ phpdoc-fr/language/operators.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.103 $ --> -<!-- EN-Revision: 1.124 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.104 $ --> +<!-- EN-Revision: 1.125 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> @@ -407,6 +407,12 @@ echo "hallo" ^ "hello"; // Affiche la valeur asciie : s #0 #4 #0 #0 #0 // 'a' ^ 'e' = #4 + +echo 2 ^ "3"; // Affiche 1 + // 2 ^ ((int)"3") == 1 + +echo "2" ^ 3; // Affiche 1 + // ((int)"2") ^ 3 == 1 ?> ]]> </programlisting> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml diff -u phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml:1.15 phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml:1.16 --- phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml:1.15 Sat Jul 21 17:46:47 2007 +++ phpdoc-fr/reference/dbase/functions/dbase-replace-record.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.dbase-replace-record" xmlns="http://docbook.org/ns/docbook"> @@ -41,8 +41,8 @@ <listitem> <para> Un tableau indexé des données. Le nombre d'éléments doit être égal - au nombre de champs dans la base de données, sinon - <function>dbase_add_record</function> échouera. + au nombre de champs dans la base de données, sinon + <function>dbase_replace_record</function> échouera. </para> <note> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/hash/functions/hash-init.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/hash/functions/hash-init.xml diff -u phpdoc-fr/reference/hash/functions/hash-init.xml:1.4 phpdoc-fr/reference/hash/functions/hash-init.xml:1.5 --- phpdoc-fr/reference/hash/functions/hash-init.xml:1.4 Sun Jul 22 19:16:19 2007 +++ phpdoc-fr/reference/hash/functions/hash-init.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.3 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.4 Maintainer: jsgoupil Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.hash-init" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <type>resource</type><methodname>hash_init</methodname> <methodparam><type>string</type><parameter>algo</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> - <methodparam><type>string</type><parameter>key</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>key</parameter></methodparam> </methodsynopsis> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/iconv/functions/iconv-substr.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/iconv/functions/iconv-substr.xml diff -u phpdoc-fr/reference/iconv/functions/iconv-substr.xml:1.11 phpdoc-fr/reference/iconv/functions/iconv-substr.xml:1.12 --- phpdoc-fr/reference/iconv/functions/iconv-substr.xml:1.11 Sun Jul 22 19:39:23 2007 +++ phpdoc-fr/reference/iconv/functions/iconv-substr.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.iconv-substr" xmlns="http://docbook.org/ns/docbook"> @@ -15,8 +15,13 @@ <type>string</type><methodname>iconv_substr</methodname> <methodparam><type>string</type><parameter>str</parameter></methodparam> <methodparam><type>int</type><parameter>offset</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>charset</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>string</type><methodname>iconv_substr</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam><type>int</type><parameter>offset</parameter></methodparam> + <methodparam><type>int</type><parameter>length</parameter></methodparam> + <methodparam><type>string</type><parameter>charset</parameter></methodparam> </methodsynopsis> <para> Retourne le segment de <parameter>str</parameter> défini par http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/functions/imagepsbbox.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc-fr/reference/image/functions/imagepsbbox.xml diff -u phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.20 phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.21 --- phpdoc-fr/reference/image/functions/imagepsbbox.xml:1.20 Sun Jul 22 19:39:24 2007 +++ phpdoc-fr/reference/image/functions/imagepsbbox.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.imagepsbbox" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,13 @@ <methodparam><type>string</type><parameter>text</parameter></methodparam> <methodparam><type>int</type><parameter>font</parameter></methodparam> <methodparam><type>int</type><parameter>size</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>space</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>array</type><methodname>imagepsbbox</methodname> + <methodparam><type>string</type><parameter>text</parameter></methodparam> + <methodparam><type>int</type><parameter>font</parameter></methodparam> + <methodparam><type>int</type><parameter>size</parameter></methodparam> + <methodparam><type>int</type><parameter>space</parameter></methodparam> <methodparam><type>int</type><parameter>tightness</parameter></methodparam> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/info/functions/ini-get-all.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/info/functions/ini-get-all.xml diff -u phpdoc-fr/reference/info/functions/ini-get-all.xml:1.13 phpdoc-fr/reference/info/functions/ini-get-all.xml:1.14 --- phpdoc-fr/reference/info/functions/ini-get-all.xml:1.13 Sun Jul 22 19:57:49 2007 +++ phpdoc-fr/reference/info/functions/ini-get-all.xml Thu May 8 08:06:22 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="function.ini-get-all" xmlns="http://docbook.org/ns/docbook"> @@ -14,6 +14,7 @@ <methodsynopsis> <type>array</type><methodname>ini_get_all</methodname> <methodparam choice="opt"><type>string</type><parameter>extension</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>details</parameter></methodparam> </methodsynopsis> <para> Lit toutes les valeurs de configuration. @@ -33,6 +34,15 @@ </para> </listitem> </varlistentry> + <varlistentry> + <term><parameter>details</parameter></term> + <listitem> + <para> + Récupère les détails, ou uniquement la valeur courante de chaque + configuration. Par défaut, vaut &true; (récupère les détails). + </para> + </listitem> + </varlistentry> </variablelist> </para> </refsect1> @@ -40,21 +50,56 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - Retourne un tableau associatif en utilisant les noms des directives comme index, - et <literal>global_value</literal> (configuré dans &php.ini;), <literal>local_value</literal> - (configuré via <function>ini_set</function> ou &htaccess;), et - <literal>access</literal> (le niveau d'accès) comme valeurs. Voyez le manuel sur les - <link linkend="configuration.changes">changements de configuration</link> - pour plus d'informations sur les niveaux d'accès. + Retourne un tableau associatif dont les clés sont les noms des + directives. + </para> + <para> + Lorsque le paramètre <parameter>details</parameter> vaut &true; (défaut), + le tableau contiendra les valeurs <literal>global_value</literal> (définies dans + le fichier &php.ini;), <literal>local_value</literal> (définie éventuellement + avec la fonction <function>ini_set</function> ou via un &htaccess;), et + <literal>access</literal> (le degré d'accès). + </para> + <para> + Lorsque le paramètre <parameter>details</parameter> vaut &false;, la valeur + sera la valeur courant de l'option. + </para> + <para> + Voir le manuel pour plus d'informations sur la signification du degré d'accès. </para> <note> <para> - Il est possible pour une directive d'avoir plusieurs niveaux d'accès, - ce qui est indiqué dans le champ de bits <literal>access</literal>. + Il est possible pour une directive d'avoir plusieurs degrés d'accès, et + c'est la raison pour laquelle <literal>access</literal> montre les valeurs + du masque appopriées. </para> </note> </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.3.0</entry> + <entry> + Ajout du paramètre <parameter>details</parameter>. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="examples"> &reftitle.examples; <para> @@ -63,10 +108,8 @@ <programlisting role="php"> <![CDATA[ <?php -$inis = ini_get_all(); - -print_r($inis); - +print_r(ini_get_all("pcre")); +print_r(ini_get_all()); ?> ]]> </programlisting> @@ -75,18 +118,36 @@ <![CDATA[ Array ( + [pcre.backtrack_limit] => Array + ( + [global_value] => 100000 + [local_value] => 100000 + [access] => 7 + ) + + [pcre.recursion_limit] => Array + ( + [global_value] => 100000 + [local_value] => 100000 + [access] => 7 + ) + +) +Array +( [allow_call_time_pass_reference] => Array - ( - [global_value] => 1 - [local_value] => 1 - [access] => 6 - ) + ( + [global_value] => 0 + [local_value] => 0 + [access] => 6 + ) + [allow_url_fopen] => Array - ( - [global_value] => 1 - [local_value] => 1 - [access] => 7 - ) + ( + [global_value] => 1 + [local_value] => 1 + [access] => 4 + ) ... @@ -94,6 +155,33 @@ ]]> </screen> </example> + <example> + <title>Désactive le paramètre <parameter>details</parameter></title> + <programlisting role="php"> +<![CDATA[ +<?php +print_r(ini_get_all("pcre", false)); // Ajouté en PHP 5.3.0 +print_r(ini_get_all(null, false)); // Ajouté en PHP 5.3.0 +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +Array +( + [pcre.backtrack_limit] => 100000 + [pcre.recursion_limit] => 100000 +) +Array +( + [allow_call_time_pass_reference] => 0 + [allow_url_fopen] => 1 + ... +) +]]> + </screen> + </example> </para> </refsect1> @@ -101,6 +189,7 @@ &reftitle.seealso; <para> <simplelist> + <member><xref linkend="configuration.changes" /></member> <member><function>ini_get</function></member> <member><function>ini_restore</function></member> <member><function>ini_set</function></member>
« previous php.doc.fr (#5845) next »