cvs: phpdoc-fr /reference/info/functions get-magic-quotes-gpc.xml getenv.xml ini-set.xml php-uname.xml phpversion.xml /reference/math/functions
expm1.xml hypot.xml log1p.xml /reference/mbstring/functions mb-convert-case.xml mb-list-encodings.xml /reference/memcache reference.xml
/reference/ming/functions swfbitmap.xml swfdisplayitem.multcolor.xml swfmovie.streammp3.xml swfshape.addfill.xml /reference/misc/functions
time-nanosleep.xml /reference/mysql/functions mysql-affected-rows.xml /reference/mysqli reference.xml /reference/mysqli/functions
mysqli-data-seek.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-object.xml mysqli-fetch-row.xml /reference/network/functions
getservbyname.xml /reference/outcontrol ini.xml /reference/outcontrol/functions flush.xml ob-start.xml

From: Date: Thu, 28 Oct 2004 16:06:14 +0000
Subject: cvs: phpdoc-fr /reference/info/functions get-magic-quotes-gpc.xml getenv.xml ini-set.xml php-uname.xml phpversion.xml /reference/math/functions
expm1.xml hypot.xml log1p.xml /reference/mbstring/functions mb-convert-case.xml mb-list-encodings.xml /reference/memcache reference.xml
/reference/ming/functions swfbitmap.xml swfdisplayitem.multcolor.xml swfmovie.streammp3.xml swfshape.addfill.xml /reference/misc/functions
time-nanosleep.xml /reference/mysql/functions mysql-affected-rows.xml /reference/mysqli reference.xml /reference/mysqli/functions
mysqli-data-seek.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-object.xml mysqli-fetch-row.xml /reference/network/functions
getservbyname.xml /reference/outcontrol ini.xml /reference/outcontrol/functions flush.xml ob-start.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-3548@lists.php.net to get a copy of this message
yannick Thu Oct 28 12:06:14 2004 EDT Modified files: /phpdoc-fr/reference/info/functions getenv.xml get-magic-quotes-gpc.xml ini-set.xml php-uname.xml phpversion.xml /phpdoc-fr/reference/math/functions expm1.xml hypot.xml log1p.xml /phpdoc-fr/reference/mbstring/functions mb-convert-case.xml mb-list-encodings.xml /phpdoc-fr/reference/memcache reference.xml /phpdoc-fr/reference/ming/functions swfbitmap.xml swfdisplayitem.multcolor.xml swfmovie.streammp3.xml swfshape.addfill.xml /phpdoc-fr/reference/misc/functions time-nanosleep.xml /phpdoc-fr/reference/mysql/functions mysql-affected-rows.xml /phpdoc-fr/reference/mysqli/functions mysqli-data-seek.xml mysqli-fetch-array.xml mysqli-fetch-assoc.xml mysqli-fetch-object.xml mysqli-fetch-row.xml /phpdoc-fr/reference/mysqli reference.xml /phpdoc-fr/reference/network/functions getservbyname.xml /phpdoc-fr/reference/outcontrol/functions flush.xml ob-start.xml /phpdoc-fr/reference/outcontrol ini.xml Log: sync with EN

http://cvs.php.net/diff.php/phpdoc-fr/reference/info/functions/getenv.xml?r1=1.8&r2=1.9&ty=u Index: phpdoc-fr/reference/info/functions/getenv.xml diff -u phpdoc-fr/reference/info/functions/getenv.xml:1.8 phpdoc-fr/reference/info/functions/getenv.xml:1.9 --- phpdoc-fr/reference/info/functions/getenv.xml:1.8 Fri May 28 19:26:06 2004 +++ phpdoc-fr/reference/info/functions/getenv.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.6 Maintainer: didou Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.7 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.getenv"> <refnamediv> @@ -40,11 +40,6 @@ particulièment la page concernant les <ulink url="&url.cgispec;">variables d'environnement.</ulink>. </para> - <note> - <para> - Cette fonction ne fonctionne pas en mode ISAPI. - </para> - </note> <para> Voir aussi <function>putenv</function>. </para> http://cvs.php.net/diff.php/phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml?r1=1.13&r2=1.14&ty=u Index: phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml diff -u phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml:1.13 phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml:1.14 --- phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml:1.13 Fri Aug 13 04:59:17 2004 +++ phpdoc-fr/reference/info/functions/get-magic-quotes-gpc.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.13 $ --> -<!-- EN-Revision: 1.12 Maintainer: didou Status: ready --> +<!-- $Revision: 1.14 $ --> +<!-- EN-Revision: 1.13 Maintainer: didou Status: ready --> <!-- Reviewed: no --> <refentry id="function.get-magic-quotes-gpc"> <refnamediv> @@ -59,7 +59,7 @@ <para> Dans le but d'écrire du code portable (code qui fonctionne sur n'importe quel environnement), ou si vous n'avez pas accès au php.ini, vous devriez désactiver l'effet des maquic quotes. - Celà peut se faire de deux façons, avec une directive dans un fichier .htaccess + Celà peut se faire de deux façons, avec une directive dans un fichier &htaccess; (php_value magic_quotes_gpc 0) ou en ajoutant le code ci-dessous en haut de vos scripts. <example> <title>Désactivation des magic quotes lors de l'exécution</title> http://cvs.php.net/diff.php/phpdoc-fr/reference/info/functions/ini-set.xml?r1=1.17&r2=1.18&ty=u Index: phpdoc-fr/reference/info/functions/ini-set.xml diff -u phpdoc-fr/reference/info/functions/ini-set.xml:1.17 phpdoc-fr/reference/info/functions/ini-set.xml:1.18 --- phpdoc-fr/reference/info/functions/ini-set.xml:1.17 Mon Jul 26 11:07:42 2004 +++ phpdoc-fr/reference/info/functions/ini-set.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.41 Maintainer: didou Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.43 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.ini-set"> <refnamediv> @@ -54,6 +54,66 @@ <entry>PHP_INI_PERDIR</entry> </row> <row> + <entry>apc.cache_by_default</entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.enabled</entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.filters</entry> + <entry>""</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.gc_ttl</entry> + <entry>"3600"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.mmap_file_mask</entry> + <entry>NULL</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.num_files_hint</entry> + <entry>"1000"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.optimization</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.shm_segments</entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.shm_size</entry> + <entry>"30"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apc.ttl</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>apd.dumpdir</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>apd.statement_tracing</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.arg-separator.input">arg_separator.input</link></entry> <entry>"&amp;"</entry> <entry>PHP_INI_PERDIR</entry> @@ -119,6 +179,11 @@ <entry>PHP_INI_ALL</entry> </row> <row> + <entry>blenc.key_file</entry> + <entry>"/usr/local/etc/blenckeys"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.browscap">browscap</link></entry> <entry>NULL</entry> <entry>PHP_INI_SYSTEM</entry> @@ -159,6 +224,11 @@ <entry>PHP_INI_SYSTEM</entry> </row> <row> + <entry>crack.default_dictionary</entry> + <entry>NULL</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> <entry>date.default_latitude</entry> <entry>"31.7667"</entry> <entry>PHP_INI_ALL</entry> @@ -324,9 +394,9 @@ <entry>PHP_INI_SYSTEM</entry> </row> <row> - <entry>fbsql.batchSize</entry> + <entry>fbsql.batchsize</entry> <entry>"1000"</entry> - <entry>PHP_INI_SYSTEM</entry> + <entry>PHP_INI_USER</entry> </row> <row> <entry>fbsql.default_database</entry> @@ -419,6 +489,16 @@ <entry>PHP_INI_ALL</entry> </row> <row> + <entry>hyperwave.allow_persistent</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>hyperwave.default_port</entry> + <entry>"418"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.ibase.allow-persistent">ibase.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> @@ -560,7 +640,7 @@ </row> <row> <entry><link linkend="ini.include-path">include_path</link></entry> - <entry>".;@PREFIX@\\pear"</entry> + <entry>".;@PREFIX@\pear"</entry> <entry>PHP_INI_ALL</entry> </row> <row> @@ -659,6 +739,11 @@ <entry>PHP_INI_PERDIR</entry> </row> <row> + <entry>mailparse.def_charset</entry> + <entry>"us-ascii"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.max-execution-time">max_execution_time</link></entry> <entry>"30"</entry> <entry>PHP_INI_ALL</entry> @@ -854,7 +939,7 @@ <entry>PHP_INI_SYSTEM</entry> </row> <row> - <entry>mysql.trace_mode</entry> + <entry><link linkend="ini.mysql.trace-mode">mysql.trace_mode</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> </row> @@ -894,6 +979,31 @@ <entry>PHP_INI_SYSTEM</entry> </row> <row> + <entry>namazu.debugmode</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>namazu.lang</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>namazu.loggingmode</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>namazu.sortmethod</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>namazu.sortorder</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.nsapi.read-timeout">nsapi.read_timeout</link></entry> <entry>"60"</entry> <entry>PHP_INI_ALL</entry> @@ -959,6 +1069,11 @@ <entry>PHP_INI_PERDIR</entry> </row> <row> + <entry>pdo.global_value</entry> + <entry>"42"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry>pfpro.defaulthost</entry> <entry>"test-payflow.verisign.com"</entry> <entry>PHP_INI_ALL</entry> @@ -1034,6 +1149,11 @@ <entry>PHP_INI_ALL</entry> </row> <row> + <entry>printer.default_printer</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.register-argc-argv">register_argc_argv</link></entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> @@ -1070,7 +1190,7 @@ </row> <row> <entry><link linkend="ini.safe-mode-exec-dir">safe_mode_exec_dir</link></entry> - <entry>""</entry> + <entry>"/usr/local/php/bin"</entry> <entry>PHP_INI_SYSTEM</entry> </row> <row> @@ -1224,11 +1344,101 @@ <entry>PHP_INI_ALL</entry> </row> <row> + <entry>session_pgsql.create_table</entry> + <entry>"1"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.db</entry> + <entry>"host=localhost dbname=php_session user=nobody"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.disable</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.failover_mode</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.gc_interval</entry> + <entry>"3600"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.keep_expired</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.sem_file_name</entry> + <entry>"/tmp/php_session_pgsql"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.serializable</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.short_circuit</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.use_app_vars</entry> + <entry>"0"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> + <entry>session_pgsql.vacuum_interval</entry> + <entry>"21600"</entry> + <entry>PHP_INI_SYSTEM</entry> + </row> + <row> <entry><link linkend="ini.short-open-tag">short_open_tag</link></entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> </row> <row> + <entry>simple_cvs.authMethod</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.compressionLevel</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.cvsRoot</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.host</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.moduleName</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.userName</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>simple_cvs.workingDir</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.smtp">SMTP</link></entry> <entry>"localhost"</entry> <entry>PHP_INI_ALL</entry> @@ -1270,7 +1480,7 @@ </row> <row> <entry><link linkend="ini.sybct.deadlock-retry-count">sybct.deadlock_retry_count</link></entry> - <entry>"-1"</entry> + <entry>"0"</entry> <entry>PHP_INI_ALL</entry> </row> <row> @@ -1349,6 +1559,16 @@ <entry>PHP_INI_SYSTEM</entry> </row> <row> + <entry>valkyrie.auto_validate</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>valkyrie.config_path</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.variables-order">variables_order</link></entry> <entry>"EGPCS"</entry> <entry>PHP_INI_ALL</entry> @@ -1369,11 +1589,36 @@ <entry>PHP_INI_ALL</entry> </row> <row> + <entry>xmms.path</entry> + <entry>"/usr/bin/xmms"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>xmms.session</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.y2k-compliance">y2k_compliance</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> </row> <row> + <entry>yaz.keepalive</entry> + <entry>"120"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>yaz.log_file</entry> + <entry>NULL</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> + <entry>yaz.max_links</entry> + <entry>"100"</entry> + <entry>PHP_INI_ALL</entry> + </row> + <row> <entry><link linkend="ini.zend.ze1-compatibility-mode">zend.ze1_compatibility_mode</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> http://cvs.php.net/diff.php/phpdoc-fr/reference/info/functions/php-uname.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/info/functions/php-uname.xml diff -u phpdoc-fr/reference/info/functions/php-uname.xml:1.10 phpdoc-fr/reference/info/functions/php-uname.xml:1.11 --- phpdoc-fr/reference/info/functions/php-uname.xml:1.10 Fri Aug 6 18:09:58 2004 +++ phpdoc-fr/reference/info/functions/php-uname.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.10 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.11 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.php-uname"> <refnamediv> @@ -28,7 +28,8 @@ le système d'exploitation courant. </para> <para> - <parameter>mode</parameter> définie quelles seront les informations à retourner : + <parameter>mode</parameter> est un seul caractère qui définit + quelles seront les informations à retourner : <itemizedlist> <listitem> <simpara> http://cvs.php.net/diff.php/phpdoc-fr/reference/info/functions/phpversion.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/info/functions/phpversion.xml diff -u phpdoc-fr/reference/info/functions/phpversion.xml:1.10 phpdoc-fr/reference/info/functions/phpversion.xml:1.11 --- phpdoc-fr/reference/info/functions/phpversion.xml:1.10 Fri Aug 20 16:58:19 2004 +++ phpdoc-fr/reference/info/functions/phpversion.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.phpversion"> <refnamediv> @@ -12,12 +12,15 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>string</type><methodname>phpversion</methodname> - <void/> - </methodsynopsis> + <type>string</type><methodname>phpversion</methodname> + <methodparam choice="opt"><type>string</type><parameter>extension</parameter></methodparam> + </methodsynopsis> <para> <function>phpversion</function> retourne le numéro de - la version courante de &php;. + la version courante de &php;. Si le paramètre optionnel + <parameter>extension</parameter> est spécifié, la fonction + <function>phpversion</function> retournera la version de cette extension + ou &false; s'il n'y a aucune information sur la version d'associée. </para> <note> <para> @@ -33,6 +36,9 @@ <?php // affiche le numéro de version courante du PHP. echo "Version PHP courante : " . phpversion(); + +// affiche e.g. '2.0' ou rien du tout si cette extension n'est pas active +echo phpversion('tidy'); ?> ]]> </programlisting> http://cvs.php.net/diff.php/phpdoc-fr/reference/math/functions/expm1.xml?r1=1.4&r2=1.5&ty=u Index: phpdoc-fr/reference/math/functions/expm1.xml diff -u phpdoc-fr/reference/math/functions/expm1.xml:1.4 phpdoc-fr/reference/math/functions/expm1.xml:1.5 --- phpdoc-fr/reference/math/functions/expm1.xml:1.4 Mon May 3 11:11:45 2004 +++ phpdoc-fr/reference/math/functions/expm1.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.expm1"> <refnamediv> <refname>expm1</refname> @@ -12,14 +12,23 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>float</type><methodname>expm1</methodname> - <methodparam><type>float</type><parameter>number</parameter></methodparam> - </methodsynopsis> - &warn.experimental.func; + <type>float</type><methodname>expm1</methodname> + <methodparam><type>float</type><parameter>number</parameter></methodparam> + </methodsynopsis> + &warn.experimental.func; <para> - &warn.undocumented.func; + <function>expm1</function> retourne l'équivalent de + 'exp(<parameter>number</parameter>) - 1' calculé de tel sorte qu'il + sera précis, même si la valeur de l'argument <parameter>number</parameter> + est proche de &zero;, un cas où l'expression 'exp (<parameter>number</parameter>) - 1' + n'est pas précis, du fait de la soustraction de deux nombres quasi-égaux. </para> &note.no-windows; + <para> + Voir aussi + <function>log1p</function> et + <function>exp</function>. + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/math/functions/hypot.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/math/functions/hypot.xml diff -u phpdoc-fr/reference/math/functions/hypot.xml:1.5 phpdoc-fr/reference/math/functions/hypot.xml:1.6 --- phpdoc-fr/reference/math/functions/hypot.xml:1.5 Fri Jun 11 09:14:52 2004 +++ phpdoc-fr/reference/math/functions/hypot.xml Thu Oct 28 12:06:12 2004 @@ -1,22 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.hypot"> <refnamediv> <refname>hypot</refname> <refpurpose> - Retourne le résultat de sqrt( num1*num1 + num2*num2) + Calcul la longueur de l'hypoténuse d'un triangle à angle droit </refpurpose> </refnamediv> <refsect1> <title>Description</title> <methodsynopsis> - <type>float</type><methodname>hypot</methodname> - <methodparam><type>float</type><parameter>num1</parameter></methodparam> - <methodparam><type>float</type><parameter>num2</parameter></methodparam> - </methodsynopsis> + <type>float</type><methodname>hypot</methodname> + <methodparam><type>float</type><parameter>x</parameter></methodparam> + <methodparam><type>float</type><parameter>y</parameter></methodparam> + </methodsynopsis> <para> - &warn.undocumented.func; + <function>hypot</function> retourne la longueur de l'hypoténuse + d'un triangle à angle droit qui a des cotés d'une longueur <parameter>x</parameter> et + <parameter>y</parameter> ou bien la distance du point + (<parameter>x</parameter>, <parameter>y</parameter>) + depuis l'origine. Ceci est l'équivalent de <literal>sqrt(x*x + y*y)</literal>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/math/functions/log1p.xml?r1=1.5&r2=1.6&ty=u Index: phpdoc-fr/reference/math/functions/log1p.xml diff -u phpdoc-fr/reference/math/functions/log1p.xml:1.5 phpdoc-fr/reference/math/functions/log1p.xml:1.6 --- phpdoc-fr/reference/math/functions/log1p.xml:1.5 Fri Aug 20 17:19:15 2004 +++ phpdoc-fr/reference/math/functions/log1p.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <refentry id="function.log1p"> <refnamediv> <refname>log1p</refname> @@ -12,14 +12,21 @@ <refsect1> <title>Description</title> <methodsynopsis> - <type>float</type><methodname>log1p</methodname> - <methodparam><type>float</type><parameter>number</parameter></methodparam> - </methodsynopsis> + <type>float</type><methodname>log1p</methodname> + <methodparam><type>float</type><parameter>number</parameter></methodparam> + </methodsynopsis> &warn.experimental.func; <para> - &warn.undocumented.func; + <function>log1p</function> retourne log(1 + + <parameter>number</parameter>) caculé de tel sorte qu'il sera précis + même si la valeur de <parameter>number</parameter> est proche de &zero;. </para> &note.no-windows; + <para> + Voir aussi + <function>expm1</function> et + <function>log</function>. + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml diff -u phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml:1.6 phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml:1.7 --- phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml:1.6 Thu Jul 1 08:03:24 2004 +++ phpdoc-fr/reference/mbstring/functions/mb-convert-case.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mb-convert-case"> <refnamediv> @@ -66,9 +66,11 @@ <para> Voir aussi <function>mb_strtolower</function>, - <function>mb_strtoupper</function>, - <function>strtolower</function> et - <function>strtoupper</function>. + <function>mb_strtoupper</function>, + <function>strtolower</function>, + <function>strtoupper</function>, + <function>ucfirst</function>&listendand; + <function>ucwords</function>. </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml diff -u phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml:1.2 phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml:1.3 --- phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml:1.2 Thu Jul 1 08:03:25 2004 +++ phpdoc-fr/reference/mbstring/functions/mb-list-encodings.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mb-list-encodings"> <refnamediv> @@ -15,9 +15,92 @@ <type>array</type><methodname>mb_list_encodings</methodname> <void/> </methodsynopsis> + <para> + <function>mb_list_encodings</function> retourne un tableau + contenant tous les encodages supportés. + </para> + <para> + <example> + <title>Exemple avec <function>mb_list_encodings</function></title> + <programlisting role="php"> +<![CDATA[ +<?php - &warn.undocumented.func; +print_r(mb_list_encodings()); +?> +]]> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +Array +( + [0] => pass + [1] => auto + [2] => wchar + [3] => byte2be + [4] => byte2le + [5] => byte4be + [6] => byte4le + [7] => BASE64 + [8] => UUENCODE + [9] => HTML-ENTITIES + [10] => Quoted-Printable + [11] => 7bit + [12] => 8bit + [13] => UCS-4 + [14] => UCS-4BE + [15] => UCS-4LE + [16] => UCS-2 + [17] => UCS-2BE + [18] => UCS-2LE + [19] => UTF-32 + [20] => UTF-32BE + [21] => UTF-32LE + [22] => UTF-16 + [23] => UTF-16BE + [24] => UTF-16LE + [25] => UTF-8 + [26] => UTF-7 + [27] => UTF7-IMAP + [28] => ASCII + [29] => EUC-JP + [30] => SJIS + [31] => eucJP-win + [32] => SJIS-win + [33] => JIS + [34] => ISO-2022-JP + [35] => Windows-1252 + [36] => ISO-8859-1 + [37] => ISO-8859-2 + [38] => ISO-8859-3 + [39] => ISO-8859-4 + [40] => ISO-8859-5 + [41] => ISO-8859-6 + [42] => ISO-8859-7 + [43] => ISO-8859-8 + [44] => ISO-8859-9 + [45] => ISO-8859-10 + [46] => ISO-8859-13 + [47] => ISO-8859-14 + [48] => ISO-8859-15 + [49] => EUC-CN + [50] => CP936 + [51] => HZ + [52] => EUC-TW + [53] => BIG-5 + [54] => EUC-KR + [55] => UHC + [56] => ISO-2022-KR + [57] => Windows-1251 + [58] => CP866 + [59] => KOI8-R +) +]]> + </screen> + </example> + </para> </refsect1> </refentry> http://cvs.php.net/diff.php/phpdoc-fr/reference/memcache/reference.xml?r1=1.2&r2=1.3&ty=u Index: phpdoc-fr/reference/memcache/reference.xml diff -u phpdoc-fr/reference/memcache/reference.xml:1.2 phpdoc-fr/reference/memcache/reference.xml:1.3 --- phpdoc-fr/reference/memcache/reference.xml:1.2 Thu Aug 5 13:29:00 2004 +++ phpdoc-fr/reference/memcache/reference.xml Thu Oct 28 12:06:12 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <reference id="ref.memcache"> <title>Fonctions Memcache</title> <titleabbrev>Memcache</titleabbrev> @@ -67,7 +67,7 @@ $tmp_object->str_attr = 'test'; $tmp_object->int_attr = 123; -$memcache->set('key', $tmp_object, 10) or die ("Echec de la sauvegarde des données sur le serveur"); +$memcache->set('key', $tmp_object, false, 10) or die ("Echec de la sauvegarde des données sur le serveur"); echo "Les données ont été stockées dans le cache (les données expireront dans 10 secondes)<br />\n"; $get_result = $memcache->get('key'); http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfbitmap.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/ming/functions/swfbitmap.xml diff -u phpdoc-fr/reference/ming/functions/swfbitmap.xml:1.10 phpdoc-fr/reference/ming/functions/swfbitmap.xml:1.11 --- phpdoc-fr/reference/ming/functions/swfbitmap.xml:1.10 Tue Aug 17 18:18:57 2004 +++ phpdoc-fr/reference/ming/functions/swfbitmap.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.swfbitmap"> <refnamediv> @@ -11,15 +11,17 @@ <title>Description</title> <methodsynopsis> <type>object</type><methodname>swfbitmap</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>alphafilename</parameter></methodparam> + <methodparam><type>mixed</type><parameter>file</parameter></methodparam> + <methodparam choice="opt"><type>mixed</type><parameter>alphafile</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> <function>SWFBitmap</function> crée un objet bitmap à partir d'un - fichier JPEG ou DBL, nommé <parameter>filename</parameter>. - <parameter>alphafilename</parameter> indique un fichier de masque à + fichier JPEG ou DBL dans le fichier <parameter>file</parameter>. + <parameter>alphafile</parameter> indique un fichier de masque à utiliser comme canal alpha sur une image JPEG. + Les deux paramètres peuvent être une ressource ouverte avec <function>fopen</function> + ou une chaîne binaire. </para> <note> <para> @@ -46,7 +48,7 @@ <![CDATA[ <?php $s = new SWFShape(); -$f = $s->addFill(new SWFBitmap("png.dbl")); +$f = $s->addFill(new SWFBitmap(file_get_contents("png.dbl"))); $s->setRightFill($f); $s->drawLine(32, 0); @@ -76,7 +78,7 @@ $s = new SWFShape(); //les fichiers .msk sont générés par l'utilitaire "gif2mask" -$f = $s->addFill(new SWFBitmap("alphafill.jpg", "alphafill.msk")); +$f = $s->addFill(new SWFBitmap(file_get_contents("alphafill.jpg"), file_get_contents("alphafill.msk"))); $s->setRightFill($f); $s->drawLine(640, 0); http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml diff -u phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml:1.10 phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml:1.11 --- phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml:1.10 Tue Aug 17 18:18:57 2004 +++ phpdoc-fr/reference/ming/functions/swfdisplayitem.multcolor.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.swfdisplayitem.multcolor"> <refnamediv> @@ -36,7 +36,8 @@ <programlisting role="php"> <![CDATA[ <?php -$b = new SWFBitmap("backyard.jpg"); + +$b = new SWFBitmap(file_get_contents("backyard.jpg")); // Utilisez une de vos images $s = new SWFShape(); $s->setRightFill($s->addFill($b)); http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml diff -u phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.10 phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.11 --- phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml:1.10 Tue Aug 17 18:18:57 2004 +++ phpdoc-fr/reference/ming/functions/swfmovie.streammp3.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.swfmovie.streammp3"> <refnamediv> @@ -11,18 +11,20 @@ <title>Description</title> <methodsynopsis> <type>void</type><methodname>swfmovie->streammp3</methodname> - <methodparam><type>string</type><parameter>mp3FileName</parameter></methodparam> + <methodparam><type>mixed</type><parameter>mp3File</parameter></methodparam> </methodsynopsis> &warn.experimental.func; <para> <function>SWFMovie->streammp3</function> envoie le fichier - MP3 <parameter>mp3filename</parameter> en stream audio. + MP3 <parameter>mp3File</parameter> en stream audio. <function>swfmovie->streammp3</function> n'est pas très robuste, et se prend facilement les pieds dans le tapis (elle peut éviter la balise initiale ID3, mais c'est bien tout). Tout comme swfshape->addjpegfill(), ce n'est pas une fonction stable. Il faudra sûrement faire un objet séparé, pour - gérer les types de son. + gérer les types de son. Le paramètre <parameter>mp3File</parameter> + peut être une ressource ouverte avec la fonction <function>fopen</function> + ou une chaîne binaire. </para> <para> Notez que l'animation n'est pas suffisamment intelligente pour @@ -40,7 +42,7 @@ <?php $m = new SWFMovie(); $m->setRate(12.0); -$m->streamMp3("distortobass.mp3"); +$m->streamMp3(file_get_contents("distortobass.mp3"))); // utilisez vos propres MP3 // assurez-vous d'avoir les droits // 11.85 secondes avec 12.0 images par seconde = 142 frames http://cvs.php.net/diff.php/phpdoc-fr/reference/ming/functions/swfshape.addfill.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/ming/functions/swfshape.addfill.xml diff -u phpdoc-fr/reference/ming/functions/swfshape.addfill.xml:1.10 phpdoc-fr/reference/ming/functions/swfshape.addfill.xml:1.11 --- phpdoc-fr/reference/ming/functions/swfshape.addfill.xml:1.10 Tue Aug 17 18:18:57 2004 +++ phpdoc-fr/reference/ming/functions/swfshape.addfill.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.swfshape.addfill"> <refnamediv> @@ -73,11 +73,14 @@ <programlisting role="php"> <![CDATA[ <?php + $p = new SWFMorph(); -$b = new SWFBitmap("alphafill.jpg"); + +$b = new SWFBitmap(file_get_contents("alphafill.jpg")); // utilisez vos propres bitmaps! $width = $b->getWidth(); $height = $b->getHeight(); + $s = $p->getShape1(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); $f->moveTo(-$width/2, -$height/4); @@ -88,26 +91,31 @@ $s->drawLine(0, $height/2); $s->drawLine(-$width, 0); $s->drawLine(0, -$height/2); + $s = $p->getShape2(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); + // ces déplacements n'ont aucun effet $f->moveTo(-$width/4, -$height/2); $f->scaleTo(0.5, 1.0); + $s->setLeftFill($f); $s->movePenTo(-$width/4, -$height/2); $s->drawLine($width/2, 0); $s->drawLine(0, $height); $s->drawLine(-$width/2, 0); $s->drawLine(0, -$height); + $m = new SWFMovie(); $m->setDimension($width, $height); $i = $m->add($p); $i->moveTo($width/2, $height/2); -for($n=0; $n<1.001; $n+=0.03) -{ + +for($n=0; $n<1.001; $n+=0.03) { $i->setRatio($n); $m->nextFrame(); } + header('Content-type: application/x-shockwave-flash'); $m->output(); ?> http://cvs.php.net/diff.php/phpdoc-fr/reference/misc/functions/time-nanosleep.xml?r1=1.3&r2=1.4&ty=u Index: phpdoc-fr/reference/misc/functions/time-nanosleep.xml diff -u phpdoc-fr/reference/misc/functions/time-nanosleep.xml:1.3 phpdoc-fr/reference/misc/functions/time-nanosleep.xml:1.4 --- phpdoc-fr/reference/misc/functions/time-nanosleep.xml:1.3 Fri Aug 20 18:17:29 2004 +++ phpdoc-fr/reference/misc/functions/time-nanosleep.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version='1.0' encoding='iso-8859-1'?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.3 Maintainer: didou Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.4 Maintainer: didou Status: ready --> <!-- Reviewed: yes --> <refentry id="function.time-nanosleep"> <refnamediv> @@ -64,13 +64,13 @@ <programlisting role="php"> <![CDATA[ <?php -/* Attention ! Celà ne fonctionnera pas comme prévu si un tableau est retourné */ -if (time_nanosleep(0, 500000)) { +// Attention ! Celà ne fonctionnera pas comme prévu si un tableau est retourné +if (time_nanosleep(0, 500000000)) { echo "Dors pendant une demie seconde.\n"; } -/* Ceci est meilleur : */ -if (time_nanosleep(0, 500000) === true) { +// Ceci est meilleur : +if (time_nanosleep(0, 500000000) === true) { echo "Dors pendant une demie seconde.\n"; } @@ -79,11 +79,9 @@ if ($nano === true) { echo "Dors pendant 2 secondes et 100 millisecondes.\n"; -} -else if ($nano === false) { +} else if ($nano === false) { echo "Le délai a échoué.\n"; -} -else if (is_array($nano)) { +} else if (is_array($nano)) { $seconds = $nano['seconds']; $nanoseconds = $nano['nanoseconds']; echo "Interrompu par un signal.\n"; http://cvs.php.net/diff.php/phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml diff -u phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml:1.10 phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml:1.11 --- phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml:1.10 Thu Sep 30 17:07:19 2004 +++ phpdoc-fr/reference/mysql/functions/mysql-affected-rows.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.15 Maintainer: dams Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.17 Maintainer: dams Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysql-affected-rows"> <refnamediv> @@ -44,12 +44,15 @@ le nombre de lignes correspondantes mais plutôt le nombre de lignes qui ont été réellement affectées par la requête. </para> + <para> + La requête REPLACE commence par effacer les enregistrements possédant la même + clé primaire et ensuite, insert les nouveaux enregistrements. Cette fonction retourne le + nombre d'enregistrements effacés ainsi que le nombre d'enregistrements insérés. + </para> </note> <para> - <function>mysql_affected_rows</function> n'est pas possible après un - SELECT, car elle ne fonctionne qu'après des commandes qui modifient - les enregistrements. Pour connaître le nombre de lignes - retournées par un SELECT, utilisez <function>mysql_num_rows</function>. + Pour recupérer le nombre de lignes retournées par un SELECT, il est également possible + d'utiliser la fonction <function>mysql_num_rows</function>. </para> <para> Si la dernière requête a échoué, http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml:1.11 phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml:1.12 --- phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml:1.11 Tue Oct 19 19:01:23 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-data-seek.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysqli-data-seek"> <refnamediv> @@ -53,7 +53,11 @@ &reftitle.seealso; <para> <function>mysqli_store_result</function>, - <function>mysqli_fetch_row</function> et + <function>mysqli_fetch_row</function>, + <function>mysqli_fetch_array</function>, + <function>mysqli_fetch_assoc</function>, + <function>mysqli_fetch_object</function>, + <function>mysqli_query</function> et <function>mysqli_num_rows</function>. </para> </refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml?r1=1.15&r2=1.16&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml:1.15 phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml:1.16 --- phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml:1.15 Tue Oct 19 19:01:23 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-fetch-array.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysqli-fetch-array"> <refnamediv> @@ -72,8 +72,10 @@ &reftitle.seealso; <para> <function>mysqli_fetch_assoc</function>, - <function>mysqli_fetch_row</function> et - <function>mysqli_fetch_object</function>. + <function>mysqli_fetch_row</function>, + <function>mysqli_fetch_object</function>, + <function>mysqli_query</function> et + <function>mysqli_data_seek</function>. </para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml?r1=1.14&r2=1.15&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.14 phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.15 --- phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml:1.14 Tue Oct 19 19:01:23 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-fetch-assoc.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysqli-fetch-assoc"> <refnamediv> @@ -60,8 +60,10 @@ &reftitle.seealso; <para> <function>mysqli_fetch_array</function>, - <function>mysqli_fetch_row</function> et - <function>mysqli_fetch_object</function>. + <function>mysqli_fetch_row</function>, + <function>mysqli_fetch_object</function>, + <function>mysqli_query</function> et + <function>mysqli_data_seek</function>. </para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml?r1=1.11&r2=1.12&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml:1.11 phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml:1.12 --- phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml:1.11 Tue Oct 19 19:01:23 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-fetch-object.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysqli-fetch-object"> <refnamediv> @@ -49,7 +49,9 @@ <para> <function>mysqli_fetch_array</function>, <function>mysqli_fetch_assoc</function>, - <function>mysqli_fetch_row</function>. + <function>mysqli_fetch_row</function>, + <function>mysqli_query</function> et + <function>mysqli_data_seek</function>. </para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml diff -u phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml:1.10 phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml:1.11 --- phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml:1.10 Tue Oct 19 19:01:23 2004 +++ phpdoc-fr/reference/mysqli/functions/mysqli-fetch-row.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry id="function.mysqli-fetch-row"> <refnamediv> @@ -52,8 +52,10 @@ &reftitle.seealso; <para> <function>mysqli_fetch_array</function>, - <function>mysqli_fetch_assoc</function> et - <function>mysqli_fetch_object</function>. + <function>mysqli_fetch_assoc</function>, + <function>mysqli_fetch_object</function>, + <function>mysqli_query</function> et + <function>mysqli_data_seek</function>. </para> </refsect1> <refsect1> http://cvs.php.net/diff.php/phpdoc-fr/reference/mysqli/reference.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc-fr/reference/mysqli/reference.xml diff -u phpdoc-fr/reference/mysqli/reference.xml:1.16 phpdoc-fr/reference/mysqli/reference.xml:1.17 --- phpdoc-fr/reference/mysqli/reference.xml:1.16 Thu Oct 14 17:37:54 2004 +++ phpdoc-fr/reference/mysqli/reference.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <reference id='ref.mysqli'> <title>Extension MySQL améliorée</title> @@ -156,7 +156,7 @@ <para><link linkend='function.mysqli-use-result'>use_result</link> - Transfère un résultat non-bufferisé</para> </listitem> <listitem> - <para><link linkend='function.mysqli-thread-safe'>thread-safe</link> - Indique si la sécurité thread est activée</para> + <para><link linkend='function.mysqli-thread-safe'>thread_safe</link> - Indique si la sécurité thread est activée</para> </listitem> </itemizedlist> </section> @@ -188,7 +188,7 @@ <para><link linkend='function.mysqli-info'>info</link> - Lit les informations sur la dernière commande exécutée</para> </listitem> <listitem> - <para><link linkend='function.mysqli-insert-id'>insert-id</link> - Retourne le dernier identifiant généré</para> + <para><link linkend='function.mysqli-insert-id'>insert_id</link> - Retourne le dernier identifiant généré</para> </listitem> <listitem> <para><link linkend='function.mysqli-get-proto-info'>protocol_version</link> - Retourne la version du protocole MySQL utilisé</para> @@ -200,7 +200,7 @@ <para><link linkend='function.mysqli-thread-id'>thread_id</link> - Retourne l'identifiant de thread de la connexion courante</para> </listitem> <listitem> - <para><link linkend='function.mysqli-warning-count'>warning-count</link> - Retourne le nombre d'alertes générées durant l'exécution de la dernière commande SQL</para> + <para><link linkend='function.mysqli-warning-count'>warning_count</link> - Retourne le nombre d'alertes générées durant l'exécution de la dernière commande SQL</para> </listitem> </itemizedlist> @@ -225,7 +225,7 @@ <para><link linkend='function.mysqli-stmt-close'>close</link> - Termine une commande préparée</para> </listitem> <listitem> - <para><link linkend='function.mysqli-stmt-data-seek'>data-seek</link> - Place le curseur à une ligne arbitraire dans un jeu de résultat</para> + <para><link linkend='function.mysqli-stmt-data-seek'>data_seek</link> - Place le curseur à une ligne arbitraire dans un jeu de résultat</para> </listitem> <listitem> <para><link linkend='function.mysqli-execute'>execute</link> - Exécute une commande préparée</para> http://cvs.php.net/diff.php/phpdoc-fr/reference/network/functions/getservbyname.xml?r1=1.6&r2=1.7&ty=u Index: phpdoc-fr/reference/network/functions/getservbyname.xml diff -u phpdoc-fr/reference/network/functions/getservbyname.xml:1.6 phpdoc-fr/reference/network/functions/getservbyname.xml:1.7 --- phpdoc-fr/reference/network/functions/getservbyname.xml:1.6 Fri Aug 20 17:19:16 2004 +++ phpdoc-fr/reference/network/functions/getservbyname.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.6 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.7 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <refentry id="function.getservbyname"> <refnamediv> <refname>getservbyname</refname> @@ -22,6 +22,8 @@ et au protocole <parameter>protocol</parameter>, comme dans <filename>/etc/services</filename>. <parameter>protocol</parameter> vaut soit <literal>tcp</literal>, soit <literal>udp</literal> (en minuscule). + Retourne &false; si <parameter>service</parameter> ou <parameter>protocol</parameter> + n'est pas trouvé. </para> <para> <example> http://cvs.php.net/diff.php/phpdoc-fr/reference/outcontrol/functions/flush.xml?r1=1.12&r2=1.13&ty=u Index: phpdoc-fr/reference/outcontrol/functions/flush.xml diff -u phpdoc-fr/reference/outcontrol/functions/flush.xml:1.12 phpdoc-fr/reference/outcontrol/functions/flush.xml:1.13 --- phpdoc-fr/reference/outcontrol/functions/flush.xml:1.12 Sat Aug 28 18:17:01 2004 +++ phpdoc-fr/reference/outcontrol/functions/flush.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <refentry id="function.flush"> <refnamediv> <refname>flush</refname> @@ -21,6 +21,8 @@ <para> <function>flush</function> n'a aucun effet sur la bufferisation de votre serveur web ou du navigateur. + De ce fait, vous devez appeler les fonctions <function>ob_flush</function> et + <function>flush</function> pour vider les buffers de sortie. </para> <para> De nombreux serveurs, essentiellement sous Windows, http://cvs.php.net/diff.php/phpdoc-fr/reference/outcontrol/functions/ob-start.xml?r1=1.18&r2=1.19&ty=u Index: phpdoc-fr/reference/outcontrol/functions/ob-start.xml diff -u phpdoc-fr/reference/outcontrol/functions/ob-start.xml:1.18 phpdoc-fr/reference/outcontrol/functions/ob-start.xml:1.19 --- phpdoc-fr/reference/outcontrol/functions/ob-start.xml:1.18 Sun Sep 26 09:14:56 2004 +++ phpdoc-fr/reference/outcontrol/functions/ob-start.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.18 $ --> -<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.19 $ --> +<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> <refentry id="function.ob-start"> <refnamediv> <refname>ob_start</refname> @@ -61,6 +61,15 @@ <parameter>output_callback</parameter> ne pouvait être exécuté. </para> </note> + <warning> + <para> + Quelques serveurs web (e.g. Apache) modifie le dossier de travail d'un script + lorsqu'il appelle une fonction de callback. Vous pouvez revenir à un comportement + normal en ajoutant + <literal>chdir(dirname($_SERVER['PHP_SELF']))</literal> + dans votre fonction de callback. + </para> + </warning> <para> Si le paramètre optionnel <parameter>chunk_size</parameter> est passé, la fonction de callback est appelé à chaque nouvelle ligne après http://cvs.php.net/diff.php/phpdoc-fr/reference/outcontrol/ini.xml?r1=1.10&r2=1.11&ty=u Index: phpdoc-fr/reference/outcontrol/ini.xml diff -u phpdoc-fr/reference/outcontrol/ini.xml:1.10 phpdoc-fr/reference/outcontrol/ini.xml:1.11 --- phpdoc-fr/reference/outcontrol/ini.xml:1.10 Wed Sep 1 10:28:06 2004 +++ phpdoc-fr/reference/outcontrol/ini.xml Thu Oct 28 12:06:13 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <section id="outcontrol.configuration"> &reftitle.runtime; &extension.runtime; @@ -47,6 +47,7 @@ Si vous souhaitez limiter la taille du buffer à une certaine taille, vous pouvez alors indiquer un nombre maximum d'octets à la place de <literal>On</literal>. Par exemple, <literal>output_buffering=4096</literal>). + Depuis &php; 4.3.5, cette directive vaut toujours Off dans PHP-CLI. </para> </listitem> </varlistentry>
« previous php.doc.fr (#3548) next »