cvs: phpdoc-fr /reference/dir/functions closedir.xml readdir.xml rewinddir.xml /reference/exec/functions proc-open.xml /reference/fileinfo
configure.xml /reference/fileinfo/functions finfo-open.xml /reference/filter configure.xml ini.xml /reference/filter/functions
filter-input-array.xml filter-input.xml /reference/ftp/functions ftp-ssl-connect.xml /reference/funchand/functions call-user-func-array.xml
call-user-func.xml register-shutdown-function.xml register-tick-function.xml /reference/ibase/functions ibase-blob-echo.xml
ibase-set-event-handler.xml /reference/image constants.xml

From: Date: Wed, 03 Dec 2008 14:45:54 +0000
Subject: cvs: phpdoc-fr /reference/dir/functions closedir.xml readdir.xml rewinddir.xml /reference/exec/functions proc-open.xml /reference/fileinfo
configure.xml /reference/fileinfo/functions finfo-open.xml /reference/filter configure.xml ini.xml /reference/filter/functions
filter-input-array.xml filter-input.xml /reference/ftp/functions ftp-ssl-connect.xml /reference/funchand/functions call-user-func-array.xml
call-user-func.xml register-shutdown-function.xml register-tick-function.xml /reference/ibase/functions ibase-blob-echo.xml
ibase-set-event-handler.xml /reference/image constants.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6138@lists.php.net to get a copy of this message
yannick Wed Dec 3 14:45:54 2008 UTC Modified files: /phpdoc-fr/reference/dir/functions closedir.xml readdir.xml rewinddir.xml /phpdoc-fr/reference/exec/functions proc-open.xml /phpdoc-fr/reference/fileinfo/functions finfo-open.xml /phpdoc-fr/reference/fileinfo configure.xml /phpdoc-fr/reference/filter/functions filter-input-array.xml filter-input.xml /phpdoc-fr/reference/filter configure.xml ini.xml /phpdoc-fr/reference/ftp/functions ftp-ssl-connect.xml /phpdoc-fr/reference/funchand/functions call-user-func-array.xml call-user-func.xml register-shutdown-function.xml register-tick-function.xml /phpdoc-fr/reference/ibase/functions ibase-blob-echo.xml ibase-set-event-handler.xml /phpdoc-fr/reference/image constants.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/functions/closedir.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/dir/functions/closedir.xml diff -u phpdoc-fr/reference/dir/functions/closedir.xml:1.12 phpdoc-fr/reference/dir/functions/closedir.xml:1.13 --- phpdoc-fr/reference/dir/functions/closedir.xml:1.12 Sat Jul 21 18:17:54 2007 +++ phpdoc-fr/reference/dir/functions/closedir.xml Wed Dec 3 14:45:53 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.8 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.closedir" xmlns="http://docbook.org/ns/docbook"> @@ -8,17 +8,17 @@ <refname>closedir</refname> <refpurpose>Ferme le pointeur sur le dossier</refpurpose> </refnamediv> - + <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>closedir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> </methodsynopsis> <para> <function>closedir</function> ferme le pointeur de dossier <parameter>dir_handle</parameter>. Le dossier devait avoir - été ouvert avec <function>opendir</function>. + été ouvert auparavant avec <function>opendir</function>. </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/functions/readdir.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-fr/reference/dir/functions/readdir.xml diff -u phpdoc-fr/reference/dir/functions/readdir.xml:1.13 phpdoc-fr/reference/dir/functions/readdir.xml:1.14 --- phpdoc-fr/reference/dir/functions/readdir.xml:1.13 Sat Jul 21 18:17:54 2007 +++ phpdoc-fr/reference/dir/functions/readdir.xml Wed Dec 3 14:45:53 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.13 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.readdir" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>string</type><methodname>readdir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> </methodsynopsis> <para> <function>readdir</function> retourne le nom du fichier suivant dans @@ -32,7 +32,9 @@ <listitem> <para> La <type>ressource</type> de dossier ouverte précédemment avec - <function>opendir</function>. + <function>opendir</function>. Si la ressource de dossier + n'est pas spécifiée, la dernière ressource ouverte avec la fonction + <function>opendir</function> sera utilisée. </para> </listitem> </varlistentry> @@ -117,6 +119,8 @@ <simplelist> <member><function>is_dir</function></member> <member><function>glob</function></member> + <member><function>opendir</function></member> + <member><function>scandir</function></member> </simplelist> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dir/functions/rewinddir.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/dir/functions/rewinddir.xml diff -u phpdoc-fr/reference/dir/functions/rewinddir.xml:1.12 phpdoc-fr/reference/dir/functions/rewinddir.xml:1.13 --- phpdoc-fr/reference/dir/functions/rewinddir.xml:1.12 Sat Jul 21 18:17:54 2007 +++ phpdoc-fr/reference/dir/functions/rewinddir.xml Wed Dec 3 14:45:53 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.7 Maintainer: jsgoupil Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.rewinddir" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>void</type><methodname>rewinddir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> </methodsynopsis> <para> <function>rewinddir</function> retourne à la première @@ -30,7 +30,9 @@ <listitem> <para> La <type>ressource</type> de dossier ouverte précédemment avec - <function>opendir</function>. + <function>opendir</function>. Si la ressource de dossier n'est pas fournie, + la dernière ressourcre ouverte avec la fonction + <function>opendir</function> sera utilisée. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/exec/functions/proc-open.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-fr/reference/exec/functions/proc-open.xml diff -u phpdoc-fr/reference/exec/functions/proc-open.xml:1.19 phpdoc-fr/reference/exec/functions/proc-open.xml:1.20 --- phpdoc-fr/reference/exec/functions/proc-open.xml:1.19 Sat Jun 21 20:51:31 2008 +++ phpdoc-fr/reference/exec/functions/proc-open.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.18 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id='function.proc-open' xmlns="http://docbook.org/ns/docbook"> @@ -48,8 +48,21 @@ processus fils. 0 est stdin, 1 est stdout, et 2 est stderr. </para> <para> - Les types de descripteurs actuellement supportés sont - <literal>file</literal> et <literal>pipe</literal>. + Chaque élément peut être : + <simplelist> + <member> + Un tableau décrivant le pipie à passer au processus. Le premier élément + est le type du descripteur et le second est une option pour le type donné. + Les types valides sont <literal>pipe</literal> (le second élément est soit + <literal>r</literal> pour passer la fin de lecture du pipe au processus, ou + <literal>w</literal> pour passer la fin d'écriture) et + <literal>file</literal> (le second élément est le nom de fichier). + </member> + <member> + Une ressource de flux représentant un descripteur de fichier (e.g. un fichier + ouvert, un socket, ou bien <constant>STDIN</constant>). + </member> + </simplelist> </para> <para> Les numéros de descripteurs de fichiers ne sont pas limités à 0, 1 et 2 - http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fileinfo/functions/finfo-open.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/fileinfo/functions/finfo-open.xml diff -u phpdoc-fr/reference/fileinfo/functions/finfo-open.xml:1.5 phpdoc-fr/reference/fileinfo/functions/finfo-open.xml:1.6 --- phpdoc-fr/reference/fileinfo/functions/finfo-open.xml:1.5 Sat Apr 12 17:11:32 2008 +++ phpdoc-fr/reference/fileinfo/functions/finfo-open.xml Wed Dec 3 14:45:54 2008 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.finfo-open" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>finfo_open</refname> - <refname>finfo->__construct()</refname> + <refname>finfo->__construct</refname> <refpurpose>Crée une nouvelle ressource fileinfo</refpurpose> </refnamediv> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/fileinfo/configure.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/reference/fileinfo/configure.xml diff -u phpdoc-fr/reference/fileinfo/configure.xml:1.5 phpdoc-fr/reference/fileinfo/configure.xml:1.6 --- phpdoc-fr/reference/fileinfo/configure.xml:1.5 Sun Jul 22 17:47:34 2007 +++ phpdoc-fr/reference/fileinfo/configure.xml Wed Dec 3 14:45:54 2008 @@ -1,13 +1,13 @@ <?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 --> <!-- Reviewed: no --> <section xml:id="fileinfo.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.install; <para> - &pecl.info; - <link xlink:href="&url.pecl.package;fileinfo">&url.pecl.package;fileinfo</link> + Cette extension est activée par défaut depuis PHP 5.3.0. Avant cette version, + fileinfo était une extension PECL mais n'est plus maintenu en tant que tel. </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filter/functions/filter-input-array.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/reference/filter/functions/filter-input-array.xml diff -u phpdoc-fr/reference/filter/functions/filter-input-array.xml:1.8 phpdoc-fr/reference/filter/functions/filter-input-array.xml:1.9 --- phpdoc-fr/reference/filter/functions/filter-input-array.xml:1.8 Sat Jun 21 20:51:32 2008 +++ phpdoc-fr/reference/filter/functions/filter-input-array.xml Wed Dec 3 14:45:54 2008 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.filter-input-array" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>filter_input_array</refname> - <refpurpose>Récupère plusieurs valeurs externes à PHP et, les filtrent</refpurpose> + <refpurpose>Récupère plusieurs valeurs externes et les filtrent</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filter/functions/filter-input.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-fr/reference/filter/functions/filter-input.xml diff -u phpdoc-fr/reference/filter/functions/filter-input.xml:1.6 phpdoc-fr/reference/filter/functions/filter-input.xml:1.7 --- phpdoc-fr/reference/filter/functions/filter-input.xml:1.6 Sat Jun 21 20:51:32 2008 +++ phpdoc-fr/reference/filter/functions/filter-input.xml Wed Dec 3 14:45:54 2008 @@ -1,12 +1,12 @@ <?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 --> <!-- Reviewed: no --> <refentry xml:id="function.filter-input" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>filter_input</refname> - <refpurpose>Récupère une variable externe à PHP et la filtre</refpurpose> + <refpurpose>Récupère une variable externe et la filtre</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filter/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/reference/filter/configure.xml diff -u phpdoc-fr/reference/filter/configure.xml:1.4 phpdoc-fr/reference/filter/configure.xml:1.5 --- phpdoc-fr/reference/filter/configure.xml:1.4 Sun Jul 22 18:10:51 2007 +++ phpdoc-fr/reference/filter/configure.xml Wed Dec 3 14:45:54 2008 @@ -1,16 +1,14 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section xml:id="filter.installation" xmlns="http://docbook.org/ns/docbook"> &reftitle.install; <para> - Une note d'installation courte : Exécutez simplement la commande suivant : - <screen> -$ pecl install filter - </screen> - dans votre console. + L'extension filter est actvée par défaut depuis PHP 5.2.0. Avant cette version, + une extension PECL expérimentale pouvait être utilisée. La version PECL + n'est actuellement plus maintenue. </para> </section> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/filter/ini.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc-fr/reference/filter/ini.xml diff -u phpdoc-fr/reference/filter/ini.xml:1.7 phpdoc-fr/reference/filter/ini.xml:1.8 --- phpdoc-fr/reference/filter/ini.xml:1.7 Mon May 19 00:37:10 2008 +++ phpdoc-fr/reference/filter/ini.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.8 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <section xml:id="filter.configuration" xmlns="http://docbook.org/ns/docbook"> @@ -48,8 +48,10 @@ </term> <listitem> <para> - Filtre toutes les données transmises via $_GET, $_POST, $_COOKIE and $_REQUEST - avec ce filtre. Les données originales peut être accédées via la fonction + Filtre toutes les données transmises via <varname>$_GET</varname>, + <varname>$_POST</varname>, <varname>$_COOKIE</varname> + et <varname>$_REQUEST</varname> avec ce filtre. Les données originales + peut être accédées via la fonction <function>input_get</function>. </para> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml diff -u phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml:1.16 phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml:1.17 --- phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml:1.16 Sat Jun 21 20:51:33 2008 +++ phpdoc-fr/reference/ftp/functions/ftp-ssl-connect.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.ftp-ssl-connect" xmlns="http://docbook.org/ns/docbook"> @@ -23,10 +23,11 @@ <note> <title>Pourquoi cette fonction peut ne pas exister ?</title> <para> - <function>ftp_ssl_connect</function> n'est disponible que si le support - <link linkend="ref.openssl">OpenSSL</link> est actif dans votre version de PHP. - Pour Windows, vous devez compiler votre propre binaire PHP pour qu'il - supporte cette fonctionnalité. + <function>ftp_ssl_connect</function> n'est disponible que si le module + ftp et le support <link linkend="ref.openssl">OpenSSL</link> sont compilés + statiquement dans PHP, cela signifie que, sous Windows, cette fonction sera + indéfinie dans la version officielle de PHP. Afin d'utiliser cette fonction + sous Windows, vous devez compiler vos propres binaires PHP. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/funchand/functions/call-user-func-array.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-fr/reference/funchand/functions/call-user-func-array.xml diff -u phpdoc-fr/reference/funchand/functions/call-user-func-array.xml:1.16 phpdoc-fr/reference/funchand/functions/call-user-func-array.xml:1.17 --- phpdoc-fr/reference/funchand/functions/call-user-func-array.xml:1.16 Sun Apr 13 00:58:32 2008 +++ phpdoc-fr/reference/funchand/functions/call-user-func-array.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.21 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.call-user-func-array" xmlns="http://docbook.org/ns/docbook"> @@ -108,6 +108,23 @@ ]]> </programlisting> </example> + <example> + <title>Utilisation d'une fonction lambda</title> + <programlisting role="php"> +<![CDATA[ +<?php + +$func = function($arg1, $arg2) { + return $arg1 * $arg2; +}; + +var_dump(call_user_func_array($func, array(2, 4))); /* Depuis PHP 5.3.0 */ +// int(8) + +?> +]]> + </programlisting> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/funchand/functions/call-user-func.xml?r1=1.16&r2=1.17&diff_format=u Index: phpdoc-fr/reference/funchand/functions/call-user-func.xml diff -u phpdoc-fr/reference/funchand/functions/call-user-func.xml:1.16 phpdoc-fr/reference/funchand/functions/call-user-func.xml:1.17 --- phpdoc-fr/reference/funchand/functions/call-user-func.xml:1.16 Sun Mar 9 09:00:28 2008 +++ phpdoc-fr/reference/funchand/functions/call-user-func.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> -<!-- EN-Revision: 1.19 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.17 $ --> +<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.call-user-func" xmlns="http://docbook.org/ns/docbook"> @@ -144,6 +144,19 @@ ]]> </programlisting> </example> + <example> + <title>Utilisation d'une fonction lambda</title> + <programlisting role="php"> +<![CDATA[ +<?php + +call_user_func(function($arg) { print "[$arg]\n"; }, 'test'); /* Depuis PHP 5.3.0 */ +// [test] + +?> +]]> + </programlisting> + </example> </para> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml diff -u phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml:1.18 phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml:1.19 --- phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml:1.18 Sat Jun 21 20:51:33 2008 +++ phpdoc-fr/reference/funchand/functions/register-shutdown-function.xml Wed Dec 3 14:45:54 2008 @@ -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.18 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.register-shutdown-function" xmlns="http://docbook.org/ns/docbook"> @@ -87,6 +87,32 @@ </para> </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>Exemple avec <function>register_shutdown_function</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +function shutdown() +{ + // Voici notre fonction shutdown + // dans laquelle nous pouvons faire + // toutes les dernières opérations + // avant la fin du script. + + echo 'Script exécuté avec succès', PHP_EOL; +} + +register_shutdown_function('shutdown'); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <note> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/funchand/functions/register-tick-function.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/funchand/functions/register-tick-function.xml diff -u phpdoc-fr/reference/funchand/functions/register-tick-function.xml:1.15 phpdoc-fr/reference/funchand/functions/register-tick-function.xml:1.16 --- phpdoc-fr/reference/funchand/functions/register-tick-function.xml:1.15 Sun Jul 22 18:10:52 2007 +++ phpdoc-fr/reference/funchand/functions/register-tick-function.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.14 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.register-tick-function" xmlns="http://docbook.org/ns/docbook"> @@ -83,6 +83,32 @@ </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.3.0</entry> + <entry> + Les ticks sont maintenant obsolètes et la fonction + <function>register_tick_function</function> lance maintenant une + notice de type E_DEPRECATED. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="notes"> &reftitle.notes; <warning> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml?r1=1.10&r2=1.11&diff_format=u Index: phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml diff -u phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml:1.10 phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml:1.11 --- phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml:1.10 Fri Apr 25 13:55:05 2008 +++ phpdoc-fr/reference/ibase/functions/ibase-blob-echo.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.10 $ --> -<!-- EN-Revision: 1.8 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.11 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id='function.ibase-blob-echo'> @@ -13,7 +13,11 @@ &reftitle.description; <methodsynopsis> <type>bool</type><methodname>ibase_blob_echo</methodname> - <methodparam choice="opt"><type>resource</type><parameter>link_identifier</parameter></methodparam> + <methodparam><type>string</type><parameter>blob_id</parameter></methodparam> + </methodsynopsis> + <methodsynopsis> + <type>bool</type><methodname>ibase_blob_echo</methodname> + <methodparam><type>resource</type><parameter>link_identifier</parameter></methodparam> <methodparam><type>string</type><parameter>blob_id</parameter></methodparam> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml?r1=1.15&r2=1.16&diff_format=u Index: phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml diff -u phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml:1.15 phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml:1.16 --- phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml:1.15 Tue May 20 10:03:12 2008 +++ phpdoc-fr/reference/ibase/functions/ibase-set-event-handler.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.15 $ --> -<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.16 $ --> +<!-- EN-Revision: 1.12 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.ibase-set-event-handler"> @@ -66,13 +66,7 @@ <term><parameter>event_name2</parameter></term> <listitem> <para> - </para> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>...</parameter></term> - <listitem> - <para> + 15 événements tout au plus sont autorisés. </para> </listitem> </varlistentry> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/image/constants.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-fr/reference/image/constants.xml diff -u phpdoc-fr/reference/image/constants.xml:1.12 phpdoc-fr/reference/image/constants.xml:1.13 --- phpdoc-fr/reference/image/constants.xml:1.12 Sat Jun 21 20:51:34 2008 +++ phpdoc-fr/reference/image/constants.xml Wed Dec 3 14:45:54 2008 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.12 $ --> -<!-- EN-Revision: 1.13 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.13 $ --> +<!-- EN-Revision: 1.15 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <appendix xml:id="image.constants" xmlns="http://docbook.org/ns/docbook"> @@ -74,6 +74,19 @@ <varlistentry> <term> + <constant>GD_BUNDLE</constant> + (<type>integer</type>) + </term> + <listitem> + <simpara> + Lorsque la version interne de GD est utilisée, cette constante vaut 1, + sinon, elle vaut 0. + </simpara> + </listitem> + </varlistentry> + + <varlistentry> + <term> <constant>IMG_GIF</constant> (<type>integer</type>) </term> @@ -105,7 +118,7 @@ </simpara> <note> <para> - Cette constante à la même valeur que <constant>IMAGE_JPG</constant> + Cette constante à la même valeur que <constant>IMG_JPG</constant> </para> </note> </listitem>
« previous php.doc.fr (#6138) next »