cvs: phpdoc-fr /appendices ini.xml migration5.xml /chapters intro.xml tutorial.xml /install/unix index.xml /language exceptions.xml operators.xml
/language/oop5 reflection.xml
| From: | Yannick Torres | Date: | Sat, 28 Jan 2006 18:35:32 +0000 |
| Subject: | cvs: phpdoc-fr /appendices ini.xml migration5.xml /chapters intro.xml tutorial.xml /install/unix index.xml /language exceptions.xml operators.xml /language/oop5 reflection.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-4799@lists.php.net to get a copy of this message | ||
yannick Sat Jan 28 18:35:32 2006 UTC
Modified files:
/phpdoc-fr/appendices ini.xml migration5.xml
/phpdoc-fr/chapters intro.xml tutorial.xml
/phpdoc-fr/install/unix index.xml
/phpdoc-fr/language exceptions.xml operators.xml
/phpdoc-fr/language/oop5 reflection.xml
Log:
sync with EN
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/appendices/ini.xml?r1=1.35&r2=1.36&diff_format=u Index: phpdoc-fr/appendices/ini.xml diff -u phpdoc-fr/appendices/ini.xml:1.35 phpdoc-fr/appendices/ini.xml:1.36 --- phpdoc-fr/appendices/ini.xml:1.35 Wed Dec 14 03:47:44 2005 +++ phpdoc-fr/appendices/ini.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> -<!-- EN-Revision: 1.30 Maintainer: dams Status: ready --> +<!-- $Revision: 1.36 $ --> +<!-- EN-Revision: 1.34 Maintainer: dams Status: ready --> <appendix id="ini"> <title>Directives du &php.ini;</title> @@ -35,7 +35,7 @@ <entry>allow_url_include</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 5.1.0.</entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry> @@ -50,12 +50,6 @@ <entry></entry> </row> <row> - <entry>apc.dynamic_error</entry> - <entry>"0"</entry> - <entry>PHP_INI_SYSTEM</entry> - <entry></entry> - </row> - <row> <entry><link linkend="ini.apc.enabled">apc.enabled</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -233,7 +227,7 @@ <entry><link linkend="ini.bcmath.scale">bcmath.scale</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 5.0.0.</entry> + <entry></entry> </row> <row> <entry>bcompiler.enabled</entry> @@ -245,7 +239,7 @@ <entry>birdstep.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>blenc.key_file</entry> @@ -260,28 +254,40 @@ <entry></entry> </row> <row> + <entry>cgi.discard_path</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 6.0.0.</entry> + </row> + <row> <entry><link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry><link linkend="ini.cgi.force-redirect">cgi.force_redirect</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>cgi.nph</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.5.</entry> </row> <row> <entry><link linkend="ini.cgi.redirect-status-env">cgi.redirect_status_env</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> + </row> + <row> + <entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry><link linkend="ini.child-terminate">child_terminate</link></entry> @@ -575,13 +581,13 @@ <entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>fastcgi.logging</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.4.0.</entry> </row> <row> <entry>fbsql.allow_persistent</entry> @@ -753,7 +759,7 @@ </row> <row> <entry>http.etag_mode</entry> - <entry>"-2"</entry> + <entry>"MD5"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -764,6 +770,30 @@ <entry></entry> </row> <row> + <entry>http.ob_deflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_deflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>http.only_exceptions</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1028,6 +1058,18 @@ <entry></entry> </row> <row> + <entry>ingres.timeout</entry> + <entry>"-1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>ingres.trace_connect</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>ircg.control_user</entry> <entry>"nobody"</entry> <entry>PHP_INI_ALL</entry> @@ -1202,6 +1244,12 @@ <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> + <entry>mbstring.strict_detection</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.1.2.</entry> + </row> + <row> <entry><link linkend="ini.mbstring.substitute-character">mbstring.substitute_character</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> @@ -1268,6 +1316,12 @@ <entry>Disponible depuis &php; 4.0.4.</entry> </row> <row> + <entry>mssql.charset</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.1.2.</entry> + </row> + <row> <entry>mssql.compatability_mode</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1481,43 +1535,43 @@ <entry><link linkend="ini.oci8.default_prefetch">oci8.default_prefetch</link></entry> <entry>"10"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.max_persistent">oci8.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.old_oci_close_semantics">oci8.old_oci_close_semantics</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.persistent_timeout">oci8.persistent_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.ping_interval">oci8.ping_interval</link></entry> <entry>"60"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.privileged_connect">oci8.privileged_connect</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.statement_cache_size">oci8.statement_cache_size</link></entry> <entry>"20"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.uodbc.allow-persistent">odbc.allow_persistent</link></entry> @@ -1625,7 +1679,7 @@ <entry><link linkend="ini.pdo-odbc.connection-pooling">pdo_odbc.connection_pooling</link></entry> <entry>"strict"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.0.</entry> </row> <row> <entry>pfpro.defaulthost</entry> @@ -1965,7 +2019,7 @@ </row> <row> <entry><link linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry> - <entry>"0"</entry> + <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry>Disponible depuis &php; 4.3.0.</entry> </row> @@ -2135,7 +2189,7 @@ <entry><link linkend="ini.sybase.allow-persistent">sybase.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.compatability-mode">sybase.compatability_mode</link></entry> @@ -2153,13 +2207,13 @@ <entry><link linkend="ini.sybase.max-links">sybase.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.max-persistent">sybase.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.min-error-severity">sybase.min_error_severity</link></entry> @@ -2177,7 +2231,7 @@ <entry><link linkend="ini.sybct.allow-persistent">sybct.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.deadlock-retry-count">sybct.deadlock_retry_count</link></entry> @@ -2189,49 +2243,49 @@ <entry><link linkend="ini.sybct.hostname">sybct.hostname</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.login-timeout">sybct.login_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.3.5.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-links">sybct.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-persistent">sybct.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-client-severity">sybct.min_client_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-server-severity">sybct.min_server_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry>sybct.packet_size</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.5.</entry> </row> <row> <entry><link linkend="ini.sybct.timeout">sybct.timeout</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry>sysvshm.init_mem</entry> @@ -2261,49 +2315,49 @@ <entry>unicode.fallback_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.from_error_mode</entry> <entry>"2"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.from_error_subst_char</entry> <entry>"3f"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.http_input_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry><link linkend="ini.unicode.output-encoding">unicode.output_encoding</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.runtime_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.script_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode_semantics</entry> <entry>"off"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unserialize_callback_func</entry> @@ -2357,7 +2411,7 @@ <entry><link linkend="ini.variables-order">variables_order</link></entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en &php; <= 5.0.5.</entry> </row> <row> <entry><link linkend="ini.xbithack">xbithack</link></entry> @@ -2710,8 +2764,8 @@ <listitem> <para> Active le mode de compatibilité avec le Zend Engine 1 (&php; 4). - Cela affecte le clonage, le casting et la <link - linkend="language.oop5.object-comparison">comparaison des objets</link>. + Cela affecte le clonage, le casting (les objets sans propriété sont transtipés en &false; ou 0) + et la <link linkend="language.oop5.object-comparison">comparaison des objets</link>. Dans ce mode, les objets sont passés par valeur plutôt que par référence, par défaut. </para> </listitem> @@ -2809,7 +2863,7 @@ <entry>variables_order</entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en &php; <= 5.0.5.</entry> </row> <row> <entry>auto_globals_jit</entry> @@ -3286,31 +3340,31 @@ <entry>cgi.fix_pathinfo</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>cgi.force_redirect</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>cgi.redirect_status_env</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>fastcgi.impersonate</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>cgi.rfc2616_headers</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> </tbody> </tgroup> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/appendices/migration5.xml?r1=1.44&r2=1.45&diff_format=u Index: phpdoc-fr/appendices/migration5.xml diff -u phpdoc-fr/appendices/migration5.xml:1.44 phpdoc-fr/appendices/migration5.xml:1.45 --- phpdoc-fr/appendices/migration5.xml:1.44 Sun Dec 11 20:54:35 2005 +++ phpdoc-fr/appendices/migration5.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.44 $ --> -<!-- EN-Revision: 1.44 Maintainer: dams Status: ready --> +<!-- $Revision: 1.45 $ --> +<!-- EN-Revision: 1.45 Maintainer: dams Status: ready --> <appendix id="migration5"> <title>Migration de &php; 4 vers &php; 5</title> @@ -112,7 +112,8 @@ <simpara> Dans certains cas, les classes doivent être déclarées avant d'être utilisées. Cela survient uniquement si les nouvelles fonctionnalités de - &php; 5 sont utilisées. Sinon, le comportement sera le même qu'avant. + &php; 5 (comme les <link linkend="language.oop5.interfaces">interfaces</link>) + sont utilisées. Sinon, le comportement sera le même qu'avant. </simpara> </listitem> <listitem> @@ -145,13 +146,12 @@ </listitem> <listitem> <simpara> - Lorsque des fonctions sont définies dans un fichier inclus, elles peuvent - être utilisées dans le fichier principal, qu'elles aient été définies - avant ou après l'instruction <function>return</function>. Si le fichier - est inclus deux fois, &php; 5 - émet une erreur fatale car les fonctions sont toujours déclarées, tandis - que &php; 4 n'a aucun problème avec ça. Il est recommandé d'utiliser - l'instruction <function>include_once</function> + Lorsque des fonctions sont définies dans un fichier inclus, elles peuvent être + utilisées dans le fichier principal, qu'elles soient définies + avant ou après l'instruction <function>return</function>. Si le fichier + est inclus deux fois, &php; 5 émet une erreur fatale car les fonctions sont + toujours déclarées, tandis que &php; 4 n'a aucun problème avec ça. + Il est recommandé d'utiliser l'instruction <function>include_once</function> au lieu de vérifier si le fichier a déjà été inclus et de retourner, conditionnellement, l'inclusion du fichier. </simpara> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/chapters/intro.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/chapters/intro.xml diff -u phpdoc-fr/chapters/intro.xml:1.33 phpdoc-fr/chapters/intro.xml:1.34 --- phpdoc-fr/chapters/intro.xml:1.33 Fri Jul 8 20:43:38 2005 +++ phpdoc-fr/chapters/intro.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.39 Maintainer: dams Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> <chapter id="introduction"> &reftitle.intro; http://cvs.php.net/viewcvs.cgi/phpdoc-fr/chapters/tutorial.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/chapters/tutorial.xml diff -u phpdoc-fr/chapters/tutorial.xml:1.33 phpdoc-fr/chapters/tutorial.xml:1.34 --- phpdoc-fr/chapters/tutorial.xml:1.33 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/chapters/tutorial.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.37 Maintainer: dams Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> <chapter id="tutorial"> <title>Une introduction à &php;</title> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/install/unix/index.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/install/unix/index.xml diff -u phpdoc-fr/install/unix/index.xml:1.8 phpdoc-fr/install/unix/index.xml:1.9 --- phpdoc-fr/install/unix/index.xml:1.8 Thu Jul 7 05:12:17 2005 +++ phpdoc-fr/install/unix/index.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> + <chapter id="install.unix"> <title>Installation sous UNIX</title> <para> @@ -98,7 +99,6 @@ &install.unix.openbsd; &install.unix.solaris; <!-- spécifiques aux distributions --> - &install.unix.gentoo; &install.unix.debian; </chapter> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/exceptions.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/language/exceptions.xml diff -u phpdoc-fr/language/exceptions.xml:1.4 phpdoc-fr/language/exceptions.xml:1.5 --- phpdoc-fr/language/exceptions.xml:1.4 Thu Jul 7 21:53:31 2005 +++ phpdoc-fr/language/exceptions.xml Sat Jan 28 18:35:32 2006 @@ -1,21 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <chapter id="language.exceptions"> <title>Exceptions</title> <para> &php; 5 a une gestion des exceptions similaire à ce qu'offrent les autres - langages de programmation. Une exception peut être jetée, essayée et attrapée - dans &php;. Un bloc d'essai doit inclure au moins un bloc de capture. De - multiples blocs de capture peuvent être utilisés pour attraper différents - types de classes ; l'exception continuera après que le dernier bloc de - capture ne soit défini dans la séquence. Les exceptions peuvent être jetées - dans les blocs de capture. + langages de programmation. + Une exception peut être lancée ("<literal>throw</literal>") et attrapée + ("<literal>catch</literal>") dans &php;. Le code devra être entouré + d'un bloc <literal>try</literal> pour faciliter la saisie d'une exception + potentielle. Chaque <literal>try</literal> doit avoir au moins + un bloc <literal>catch</literal> correspondant. Plusieurs blocs + <literal>catch</literal> peuvent être utilisés pour attraper différentes + classes d'exceptions. L'exécution normal (lorsqu'aucune exception n'est lancée + dans le bloc <literal>try</literal> ou lorsqu'un <literal>catch</literal> + correspondant à l'exception lancée n'est pas présent) continue après le dernier + bloc <literal>catch</literal> défini dans la séquence. Les exceptions + peuvent être lancées (ou relancées) dans un bloc <literal>catch</literal>. </para> <para> Lorsqu'une exception est jetée, le code suivant le traitement ne sera pas - exécuté et &php; tentera de trouver le premier bloc de capture correspondant. + exécuté et &php; tentera de trouver le premier bloc <literal>catch</literal> correspondant. Si une exception n'est pas attrapé, une erreur fatale issue de &php; sera envoyée avec un message spécifiant que l'exception n'a pu être attrapée à moins qu'un gestionnaire ne soit défini avec la fonction http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/operators.xml?r1=1.75&r2=1.76&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.75 phpdoc-fr/language/operators.xml:1.76 --- phpdoc-fr/language/operators.xml:1.75 Sun Nov 13 18:55:51 2005 +++ phpdoc-fr/language/operators.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.75 $ --> -<!-- EN-Revision: 1.98 Maintainer: dams Status: ready --> +<!-- $Revision: 1.76 $ --> +<!-- EN-Revision: 1.99 Maintainer: dams Status: ready --> <chapter id="language.operators"> <title>Les opérateurs</title> <simpara> @@ -322,7 +322,8 @@ <para> En plus du simple opérateur d'assignation, il existe des "opérateurs combinés" pour tous les opérateurs - arithmétiques et pour les opérateurs sur les + <link linkend="language.operators">arithmétiques</link>, + l'union de tableaux et pour les opérateurs sur les chaînes de caractères. Cela permet d'utiliser la valeur d'une variable dans une expression et d'affecter le résultat de cette expression à cette variable. http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/oop5/reflection.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc-fr/language/oop5/reflection.xml diff -u phpdoc-fr/language/oop5/reflection.xml:1.20 phpdoc-fr/language/oop5/reflection.xml:1.21 --- phpdoc-fr/language/oop5/reflection.xml:1.20 Thu Sep 1 22:48:50 2005 +++ phpdoc-fr/language/oop5/reflection.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> + <sect1 id="language.oop5.reflection"> <title>Réflexion</title> <sect2 id="language.oop5.reflection.introduction"> @@ -140,7 +141,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(string name, bool return) public string getName() public bool isInternal() public bool isUserDefined() @@ -149,7 +150,7 @@ public int getEndLine() public string getDocComment() public array getStaticVariables() - public mixed invoke(mixed* args) + public mixed invoke(mixed args) public mixed invokeArgs(array args) public bool returnsReference() public ReflectionParameter[] getParameters() @@ -250,7 +251,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(mixed function, mixed parameter, bool return) public string getName() public bool isPassedByReference() public ReflectionClass getClass() @@ -333,7 +334,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(mixed class, bool return) public string getName() public bool isInternal() public bool isUserDefined() @@ -358,7 +359,7 @@ public bool isFinal() public int getModifiers() public bool isInstance(stdclass object) - public stdclass newInstance(mixed* args) + public stdclass newInstance(mixed args) public ReflectionClass getParentClass() public bool isSubclassOf(ReflectionClass class) public array getStaticProperties() @@ -490,6 +491,29 @@ </note> </sect2> + <sect2 id="language.oop5.reflection.reflectionobject"> + <title><classname>ReflectionObject</classname></title> + <para> + La classe <classname>ReflectionObject</classname> vous permet + de retrouver les objets. + </para> + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +class ReflectionObject extends ReflectionClass +{ + final private __clone() + public object __construct(mixed object) + public string __toString() + public static string export(mixed object, bool return) +} +?> +]]> + </programlisting> + </informalexample> + </sect2> + <sect2 id="language.oop5.reflection.reflectionmethod"> <title><classname>ReflectionMethod</classname></title> <para> @@ -505,8 +529,8 @@ { public __construct(mixed class, string name) public string __toString() - public static string export() - public mixed invoke(stdclass object, mixed* args) + public static string export(mixed class, string name, bool return) + public mixed invoke(stdclass object, mixed args) public mixed invokeArgs(stdclass object, array args) public bool isFinal() public bool isAbstract() @@ -640,7 +664,7 @@ final private __clone() public __construct(mixed class, string name) public string __toString() - public static string export() + public static string export(mixed class, string name, bool return) public string getName() public bool isPublic() public bool isPrivate() @@ -739,7 +763,7 @@ final private __clone() public __construct(string name) public string __toString() - public static string export() + public static string export(string name, bool return) public string getName() public string getVersion() public ReflectionFunction[] getFunctions()
http://cvs.php.net/viewcvs.cgi/phpdoc-fr/appendices/ini.xml?r1=1.35&r2=1.36&diff_format=u Index: phpdoc-fr/appendices/ini.xml diff -u phpdoc-fr/appendices/ini.xml:1.35 phpdoc-fr/appendices/ini.xml:1.36 --- phpdoc-fr/appendices/ini.xml:1.35 Wed Dec 14 03:47:44 2005 +++ phpdoc-fr/appendices/ini.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.35 $ --> -<!-- EN-Revision: 1.30 Maintainer: dams Status: ready --> +<!-- $Revision: 1.36 $ --> +<!-- EN-Revision: 1.34 Maintainer: dams Status: ready --> <appendix id="ini"> <title>Directives du &php.ini;</title> @@ -35,7 +35,7 @@ <entry>allow_url_include</entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 5.1.0.</entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry><link linkend="ini.always-populate-raw-post-data">always_populate_raw_post_data</link></entry> @@ -50,12 +50,6 @@ <entry></entry> </row> <row> - <entry>apc.dynamic_error</entry> - <entry>"0"</entry> - <entry>PHP_INI_SYSTEM</entry> - <entry></entry> - </row> - <row> <entry><link linkend="ini.apc.enabled">apc.enabled</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> @@ -233,7 +227,7 @@ <entry><link linkend="ini.bcmath.scale">bcmath.scale</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 5.0.0.</entry> + <entry></entry> </row> <row> <entry>bcompiler.enabled</entry> @@ -245,7 +239,7 @@ <entry>birdstep.max_links</entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>blenc.key_file</entry> @@ -260,28 +254,40 @@ <entry></entry> </row> <row> + <entry>cgi.discard_path</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 6.0.0.</entry> + </row> + <row> <entry><link linkend="ini.cgi.fix-pathinfo">cgi.fix_pathinfo</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry><link linkend="ini.cgi.force-redirect">cgi.force_redirect</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>cgi.nph</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.5.</entry> </row> <row> <entry><link linkend="ini.cgi.redirect-status-env">cgi.redirect_status_env</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> + </row> + <row> + <entry><link linkend="ini.cgi.rfc2616-headers">cgi.rfc2616_headers</link></entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry><link linkend="ini.child-terminate">child_terminate</link></entry> @@ -575,13 +581,13 @@ <entry><link linkend="ini.fastcgi.impersonate">fastcgi.impersonate</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>fastcgi.logging</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.4.0.</entry> </row> <row> <entry>fbsql.allow_persistent</entry> @@ -753,7 +759,7 @@ </row> <row> <entry>http.etag_mode</entry> - <entry>"-2"</entry> + <entry>"MD5"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> @@ -764,6 +770,30 @@ <entry></entry> </row> <row> + <entry>http.ob_deflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_deflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_auto</entry> + <entry>"0"</entry> + <entry>PHP_INI_PERDIR</entry> + <entry></entry> + </row> + <row> + <entry>http.ob_inflate_flags</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>http.only_exceptions</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1028,6 +1058,18 @@ <entry></entry> </row> <row> + <entry>ingres.timeout</entry> + <entry>"-1"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> + <entry>ingres.trace_connect</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry></entry> + </row> + <row> <entry>ircg.control_user</entry> <entry>"nobody"</entry> <entry>PHP_INI_ALL</entry> @@ -1202,6 +1244,12 @@ <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> + <entry>mbstring.strict_detection</entry> + <entry>"0"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.1.2.</entry> + </row> + <row> <entry><link linkend="ini.mbstring.substitute-character">mbstring.substitute_character</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> @@ -1268,6 +1316,12 @@ <entry>Disponible depuis &php; 4.0.4.</entry> </row> <row> + <entry>mssql.charset</entry> + <entry>""</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis &php; 5.1.2.</entry> + </row> + <row> <entry>mssql.compatability_mode</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> @@ -1481,43 +1535,43 @@ <entry><link linkend="ini.oci8.default_prefetch">oci8.default_prefetch</link></entry> <entry>"10"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.max_persistent">oci8.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.old_oci_close_semantics">oci8.old_oci_close_semantics</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.persistent_timeout">oci8.persistent_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.ping_interval">oci8.ping_interval</link></entry> <entry>"60"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.privileged_connect">oci8.privileged_connect</link></entry> <entry>"0"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.oci8.statement_cache_size">oci8.statement_cache_size</link></entry> <entry>"20"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.2.</entry> </row> <row> <entry><link linkend="ini.uodbc.allow-persistent">odbc.allow_persistent</link></entry> @@ -1625,7 +1679,7 @@ <entry><link linkend="ini.pdo-odbc.connection-pooling">pdo_odbc.connection_pooling</link></entry> <entry>"strict"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 5.1.0.</entry> </row> <row> <entry>pfpro.defaulthost</entry> @@ -1965,7 +2019,7 @@ </row> <row> <entry><link linkend="ini.session.use-only-cookies">session.use_only_cookies</link></entry> - <entry>"0"</entry> + <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry>Disponible depuis &php; 4.3.0.</entry> </row> @@ -2135,7 +2189,7 @@ <entry><link linkend="ini.sybase.allow-persistent">sybase.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.compatability-mode">sybase.compatability_mode</link></entry> @@ -2153,13 +2207,13 @@ <entry><link linkend="ini.sybase.max-links">sybase.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.max-persistent">sybase.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.3.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. PHP_INI_SYSTEM en &php; <= 4.0.3.</entry> </row> <row> <entry><link linkend="ini.sybase.min-error-severity">sybase.min_error_severity</link></entry> @@ -2177,7 +2231,7 @@ <entry><link linkend="ini.sybct.allow-persistent">sybct.allow_persistent</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.deadlock-retry-count">sybct.deadlock_retry_count</link></entry> @@ -2189,49 +2243,49 @@ <entry><link linkend="ini.sybct.hostname">sybct.hostname</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.login-timeout">sybct.login_timeout</link></entry> <entry>"-1"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.3.5.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-links">sybct.max_links</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.max-persistent">sybct.max_persistent</link></entry> <entry>"-1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>PHP_INI_ALL en &php; <= 4.0.2. Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-client-severity">sybct.min_client_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry><link linkend="ini.sybct.min-server-severity">sybct.min_server_severity</link></entry> <entry>"10"</entry> <entry>PHP_INI_ALL</entry> - <entry>Disponible depuis &php; 4.0.4.</entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry>sybct.packet_size</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.5.</entry> </row> <row> <entry><link linkend="ini.sybct.timeout">sybct.timeout</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.0.2.</entry> </row> <row> <entry>sysvshm.init_mem</entry> @@ -2261,49 +2315,49 @@ <entry>unicode.fallback_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.from_error_mode</entry> <entry>"2"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.from_error_subst_char</entry> <entry>"3f"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.http_input_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry><link linkend="ini.unicode.output-encoding">unicode.output_encoding</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.runtime_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode.script_encoding</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unicode_semantics</entry> <entry>"off"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>Disponible depuis &php; 6.0.0.</entry> </row> <row> <entry>unserialize_callback_func</entry> @@ -2357,7 +2411,7 @@ <entry><link linkend="ini.variables-order">variables_order</link></entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en &php; <= 5.0.5.</entry> </row> <row> <entry><link linkend="ini.xbithack">xbithack</link></entry> @@ -2710,8 +2764,8 @@ <listitem> <para> Active le mode de compatibilité avec le Zend Engine 1 (&php; 4). - Cela affecte le clonage, le casting et la <link - linkend="language.oop5.object-comparison">comparaison des objets</link>. + Cela affecte le clonage, le casting (les objets sans propriété sont transtipés en &false; ou 0) + et la <link linkend="language.oop5.object-comparison">comparaison des objets</link>. Dans ce mode, les objets sont passés par valeur plutôt que par référence, par défaut. </para> </listitem> @@ -2809,7 +2863,7 @@ <entry>variables_order</entry> <entry>"EGPCS"</entry> <entry>PHP_INI_PERDIR</entry> - <entry></entry> + <entry>PHP_INI_ALL en &php; <= 5.0.5.</entry> </row> <row> <entry>auto_globals_jit</entry> @@ -3286,31 +3340,31 @@ <entry>cgi.fix_pathinfo</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>cgi.force_redirect</entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>cgi.redirect_status_env</entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.2.0.</entry> </row> <row> <entry>fastcgi.impersonate</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> <row> <entry>cgi.rfc2616_headers</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>Disponible depuis &php; 4.3.0.</entry> </row> </tbody> </tgroup> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/appendices/migration5.xml?r1=1.44&r2=1.45&diff_format=u Index: phpdoc-fr/appendices/migration5.xml diff -u phpdoc-fr/appendices/migration5.xml:1.44 phpdoc-fr/appendices/migration5.xml:1.45 --- phpdoc-fr/appendices/migration5.xml:1.44 Sun Dec 11 20:54:35 2005 +++ phpdoc-fr/appendices/migration5.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.44 $ --> -<!-- EN-Revision: 1.44 Maintainer: dams Status: ready --> +<!-- $Revision: 1.45 $ --> +<!-- EN-Revision: 1.45 Maintainer: dams Status: ready --> <appendix id="migration5"> <title>Migration de &php; 4 vers &php; 5</title> @@ -112,7 +112,8 @@ <simpara> Dans certains cas, les classes doivent être déclarées avant d'être utilisées. Cela survient uniquement si les nouvelles fonctionnalités de - &php; 5 sont utilisées. Sinon, le comportement sera le même qu'avant. + &php; 5 (comme les <link linkend="language.oop5.interfaces">interfaces</link>) + sont utilisées. Sinon, le comportement sera le même qu'avant. </simpara> </listitem> <listitem> @@ -145,13 +146,12 @@ </listitem> <listitem> <simpara> - Lorsque des fonctions sont définies dans un fichier inclus, elles peuvent - être utilisées dans le fichier principal, qu'elles aient été définies - avant ou après l'instruction <function>return</function>. Si le fichier - est inclus deux fois, &php; 5 - émet une erreur fatale car les fonctions sont toujours déclarées, tandis - que &php; 4 n'a aucun problème avec ça. Il est recommandé d'utiliser - l'instruction <function>include_once</function> + Lorsque des fonctions sont définies dans un fichier inclus, elles peuvent être + utilisées dans le fichier principal, qu'elles soient définies + avant ou après l'instruction <function>return</function>. Si le fichier + est inclus deux fois, &php; 5 émet une erreur fatale car les fonctions sont + toujours déclarées, tandis que &php; 4 n'a aucun problème avec ça. + Il est recommandé d'utiliser l'instruction <function>include_once</function> au lieu de vérifier si le fichier a déjà été inclus et de retourner, conditionnellement, l'inclusion du fichier. </simpara> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/chapters/intro.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/chapters/intro.xml diff -u phpdoc-fr/chapters/intro.xml:1.33 phpdoc-fr/chapters/intro.xml:1.34 --- phpdoc-fr/chapters/intro.xml:1.33 Fri Jul 8 20:43:38 2005 +++ phpdoc-fr/chapters/intro.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.39 Maintainer: dams Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> <chapter id="introduction"> &reftitle.intro; http://cvs.php.net/viewcvs.cgi/phpdoc-fr/chapters/tutorial.xml?r1=1.33&r2=1.34&diff_format=u Index: phpdoc-fr/chapters/tutorial.xml diff -u phpdoc-fr/chapters/tutorial.xml:1.33 phpdoc-fr/chapters/tutorial.xml:1.34 --- phpdoc-fr/chapters/tutorial.xml:1.33 Mon Dec 12 18:23:52 2005 +++ phpdoc-fr/chapters/tutorial.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.33 $ --> -<!-- EN-Revision: 1.37 Maintainer: dams Status: ready --> +<!-- $Revision: 1.34 $ --> +<!-- EN-Revision: 1.41 Maintainer: dams Status: ready --> <chapter id="tutorial"> <title>Une introduction à &php;</title> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/install/unix/index.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc-fr/install/unix/index.xml diff -u phpdoc-fr/install/unix/index.xml:1.8 phpdoc-fr/install/unix/index.xml:1.9 --- phpdoc-fr/install/unix/index.xml:1.8 Thu Jul 7 05:12:17 2005 +++ phpdoc-fr/install/unix/index.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.9 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> + <chapter id="install.unix"> <title>Installation sous UNIX</title> <para> @@ -98,7 +99,6 @@ &install.unix.openbsd; &install.unix.solaris; <!-- spécifiques aux distributions --> - &install.unix.gentoo; &install.unix.debian; </chapter> http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/exceptions.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-fr/language/exceptions.xml diff -u phpdoc-fr/language/exceptions.xml:1.4 phpdoc-fr/language/exceptions.xml:1.5 --- phpdoc-fr/language/exceptions.xml:1.4 Thu Jul 7 21:53:31 2005 +++ phpdoc-fr/language/exceptions.xml Sat Jan 28 18:35:32 2006 @@ -1,21 +1,27 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.5 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <chapter id="language.exceptions"> <title>Exceptions</title> <para> &php; 5 a une gestion des exceptions similaire à ce qu'offrent les autres - langages de programmation. Une exception peut être jetée, essayée et attrapée - dans &php;. Un bloc d'essai doit inclure au moins un bloc de capture. De - multiples blocs de capture peuvent être utilisés pour attraper différents - types de classes ; l'exception continuera après que le dernier bloc de - capture ne soit défini dans la séquence. Les exceptions peuvent être jetées - dans les blocs de capture. + langages de programmation. + Une exception peut être lancée ("<literal>throw</literal>") et attrapée + ("<literal>catch</literal>") dans &php;. Le code devra être entouré + d'un bloc <literal>try</literal> pour faciliter la saisie d'une exception + potentielle. Chaque <literal>try</literal> doit avoir au moins + un bloc <literal>catch</literal> correspondant. Plusieurs blocs + <literal>catch</literal> peuvent être utilisés pour attraper différentes + classes d'exceptions. L'exécution normal (lorsqu'aucune exception n'est lancée + dans le bloc <literal>try</literal> ou lorsqu'un <literal>catch</literal> + correspondant à l'exception lancée n'est pas présent) continue après le dernier + bloc <literal>catch</literal> défini dans la séquence. Les exceptions + peuvent être lancées (ou relancées) dans un bloc <literal>catch</literal>. </para> <para> Lorsqu'une exception est jetée, le code suivant le traitement ne sera pas - exécuté et &php; tentera de trouver le premier bloc de capture correspondant. + exécuté et &php; tentera de trouver le premier bloc <literal>catch</literal> correspondant. Si une exception n'est pas attrapé, une erreur fatale issue de &php; sera envoyée avec un message spécifiant que l'exception n'a pu être attrapée à moins qu'un gestionnaire ne soit défini avec la fonction http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/operators.xml?r1=1.75&r2=1.76&diff_format=u Index: phpdoc-fr/language/operators.xml diff -u phpdoc-fr/language/operators.xml:1.75 phpdoc-fr/language/operators.xml:1.76 --- phpdoc-fr/language/operators.xml:1.75 Sun Nov 13 18:55:51 2005 +++ phpdoc-fr/language/operators.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.75 $ --> -<!-- EN-Revision: 1.98 Maintainer: dams Status: ready --> +<!-- $Revision: 1.76 $ --> +<!-- EN-Revision: 1.99 Maintainer: dams Status: ready --> <chapter id="language.operators"> <title>Les opérateurs</title> <simpara> @@ -322,7 +322,8 @@ <para> En plus du simple opérateur d'assignation, il existe des "opérateurs combinés" pour tous les opérateurs - arithmétiques et pour les opérateurs sur les + <link linkend="language.operators">arithmétiques</link>, + l'union de tableaux et pour les opérateurs sur les chaînes de caractères. Cela permet d'utiliser la valeur d'une variable dans une expression et d'affecter le résultat de cette expression à cette variable. http://cvs.php.net/viewcvs.cgi/phpdoc-fr/language/oop5/reflection.xml?r1=1.20&r2=1.21&diff_format=u Index: phpdoc-fr/language/oop5/reflection.xml diff -u phpdoc-fr/language/oop5/reflection.xml:1.20 phpdoc-fr/language/oop5/reflection.xml:1.21 --- phpdoc-fr/language/oop5/reflection.xml:1.20 Thu Sep 1 22:48:50 2005 +++ phpdoc-fr/language/oop5/reflection.xml Sat Jan 28 18:35:32 2006 @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.20 $ --> -<!-- EN-Revision: 1.16 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.21 $ --> +<!-- EN-Revision: 1.17 Maintainer: yannick Status: ready --> + <sect1 id="language.oop5.reflection"> <title>Réflexion</title> <sect2 id="language.oop5.reflection.introduction"> @@ -140,7 +141,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(string name, bool return) public string getName() public bool isInternal() public bool isUserDefined() @@ -149,7 +150,7 @@ public int getEndLine() public string getDocComment() public array getStaticVariables() - public mixed invoke(mixed* args) + public mixed invoke(mixed args) public mixed invokeArgs(array args) public bool returnsReference() public ReflectionParameter[] getParameters() @@ -250,7 +251,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(mixed function, mixed parameter, bool return) public string getName() public bool isPassedByReference() public ReflectionClass getClass() @@ -333,7 +334,7 @@ final private __clone() public object __construct(string name) public string __toString() - public static string export() + public static string export(mixed class, bool return) public string getName() public bool isInternal() public bool isUserDefined() @@ -358,7 +359,7 @@ public bool isFinal() public int getModifiers() public bool isInstance(stdclass object) - public stdclass newInstance(mixed* args) + public stdclass newInstance(mixed args) public ReflectionClass getParentClass() public bool isSubclassOf(ReflectionClass class) public array getStaticProperties() @@ -490,6 +491,29 @@ </note> </sect2> + <sect2 id="language.oop5.reflection.reflectionobject"> + <title><classname>ReflectionObject</classname></title> + <para> + La classe <classname>ReflectionObject</classname> vous permet + de retrouver les objets. + </para> + <informalexample> + <programlisting role="php"> +<![CDATA[ +<?php +class ReflectionObject extends ReflectionClass +{ + final private __clone() + public object __construct(mixed object) + public string __toString() + public static string export(mixed object, bool return) +} +?> +]]> + </programlisting> + </informalexample> + </sect2> + <sect2 id="language.oop5.reflection.reflectionmethod"> <title><classname>ReflectionMethod</classname></title> <para> @@ -505,8 +529,8 @@ { public __construct(mixed class, string name) public string __toString() - public static string export() - public mixed invoke(stdclass object, mixed* args) + public static string export(mixed class, string name, bool return) + public mixed invoke(stdclass object, mixed args) public mixed invokeArgs(stdclass object, array args) public bool isFinal() public bool isAbstract() @@ -640,7 +664,7 @@ final private __clone() public __construct(mixed class, string name) public string __toString() - public static string export() + public static string export(mixed class, string name, bool return) public string getName() public bool isPublic() public bool isPrivate() @@ -739,7 +763,7 @@ final private __clone() public __construct(string name) public string __toString() - public static string export() + public static string export(string name, bool return) public string getName() public string getVersion() public ReflectionFunction[] getFunctions()