cvs: phpdoc-fr /install pecl.xml /language/oop5 magic.xml /language/predefined/exception clone.xml construct.xml getline.xml
/reference/curl/functions curl-getinfo.xml curl-init.xml curl-multi-info-read.xml curl-multi-select.xml curl-version.xml /reference/dom/domdocument
load.xml loadhtml.xml loadhtmlfile.xml loadxml.xml /reference/info ini.xml

From: Date: Fri, 09 Jan 2009 18:02:45 +0000
Subject: cvs: phpdoc-fr /install pecl.xml /language/oop5 magic.xml /language/predefined/exception clone.xml construct.xml getline.xml
/reference/curl/functions curl-getinfo.xml curl-init.xml curl-multi-info-read.xml curl-multi-select.xml curl-version.xml /reference/dom/domdocument
load.xml loadhtml.xml loadhtmlfile.xml loadxml.xml /reference/info ini.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6328@lists.php.net to get a copy of this message
yannick Fri Jan 9 18:02:45 2009 UTC Modified files: /phpdoc-fr/install pecl.xml /phpdoc-fr/language/oop5 magic.xml /phpdoc-fr/language/predefined/exception clone.xml construct.xml getline.xml /phpdoc-fr/reference/curl/functions curl-getinfo.xml curl-init.xml curl-multi-info-read.xml curl-multi-select.xml curl-version.xml /phpdoc-fr/reference/dom/domdocument loadhtmlfile.xml loadhtml.xml load.xml loadxml.xml /phpdoc-fr/reference/info ini.xml Log: sync with EN

http://cvs.php.net/viewvc.cgi/phpdoc-fr/install/pecl.xml?r1=1.22&r2=1.23&diff_format=u Index: phpdoc-fr/install/pecl.xml diff -u phpdoc-fr/install/pecl.xml:1.22 phpdoc-fr/install/pecl.xml:1.23 --- phpdoc-fr/install/pecl.xml:1.22 Mon Dec 8 21:17:07 2008 +++ phpdoc-fr/install/pecl.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.22 $ --> -<!-- EN-Revision: 1.23 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.23 $ --> +<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/oop5/magic.xml?r1=1.19&r2=1.20&diff_format=u Index: phpdoc-fr/language/oop5/magic.xml diff -u phpdoc-fr/language/oop5/magic.xml:1.19 phpdoc-fr/language/oop5/magic.xml:1.20 --- phpdoc-fr/language/oop5/magic.xml:1.19 Sun Jun 8 18:44:27 2008 +++ phpdoc-fr/language/oop5/magic.xml Fri Jan 9 18:02:44 2009 @@ -1,27 +1,26 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.19 $ --> -<!-- EN-Revision: 1.20 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.20 $ --> +<!-- EN-Revision: 1.21 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <sect1 xml:id="language.oop5.magic" xmlns="http://docbook.org/ns/docbook"> <title>Méthodes magiques</title> <para> Les noms de fonction - <literal>__construct</literal>, - <literal>__destruct</literal> - (voir les <link linkend="language.oop5.decon">Constructeurs et Destructeurs</link>), - <literal>__call</literal>, - <literal>__callStatic</literal>, - <literal>__get</literal>, + <link linkend="language.oop5.decon"><literal>__construct</literal>, + <literal>__destruct</literal></link>, + <link linkend="language.oop5.overloading.methods"><literal>__call</literal>, + <literal>__callStatic</literal></link>, + <link linkend="language.oop5.overloading.members"><literal>__get</literal>, <literal>__set</literal>, <literal>__isset</literal>, - <literal>__unset</literal> - (voir la <link linkend="language.oop5.overloading">surcharge</link>), - <literal>__sleep</literal>, - <literal>__wakeup</literal>, - <literal>__toString</literal>, - <literal>__set_state</literal> et - <link linkend="language.oop5.cloning">__clone</link> + <literal>__unset</literal></link>, + <link linkend="language.oop5.magic.sleep"><literal>__sleep</literal>, + <literal>__wakeup</literal></link>, + <link linkend="language.oop5.magic.tostring"><literal>__toString</literal></link>, + <link linkend="language.oop5.magic.invoke"><literal>__invoke</literal></link>, + <link linkend="language.oop5.magic.set-state"><literal>__set_state</literal></link> et + <link linkend="language.oop5.cloning"><literal>__clone</literal></link> sont magiques dans les classes PHP. Vous ne pouvez pas utiliser ces noms de fonction dans aucune de vos classes sauf si vous voulez modifier le comportement associé à ces fonctions magiques. @@ -156,6 +155,43 @@ </para> </sect2> + <sect2 xml:id="language.oop5.magic.invoke"> + <title><literal>__invoke</literal></title> + <para> + La méthode <literal>__invoke</literal> est appelée lorsque le script tente + d'appeler un objet comme une fonction. + </para> + <note> + <para> + Cette fonctionnalité est disponible depuis PHP 5.3.0. + </para> + </note> + <example> + <title>Exemple avec <literal>__invoke</literal></title> + <programlisting role="php"> +<![CDATA[ +<?php +class CallableClass { + function __invoke($x) { + var_dump($x); + } +} +$obj = new CallableClass; +$obj(5); +var_dump(is_callable($obj)); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +int(5) +bool(true) +]]> + </screen> + </example> + </sect2> + <sect2 xml:id="language.oop5.magic.set-state"> <title><literal>__set_state</literal></title> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/exception/clone.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/language/predefined/exception/clone.xml diff -u phpdoc-fr/language/predefined/exception/clone.xml:1.5 phpdoc-fr/language/predefined/exception/clone.xml:1.6 --- phpdoc-fr/language/predefined/exception/clone.xml:1.5 Wed Jun 18 16:16:59 2008 +++ phpdoc-fr/language/predefined/exception/clone.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.6 $ --> +<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="exception.clone" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -12,7 +12,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>final</modifier> <modifier>private</modifier> <type>string</type><methodname>Exception::__clone</methodname> + <modifier>final</modifier> <modifier>private</modifier> <type>void</type><methodname>Exception::__clone</methodname> <void /> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/exception/construct.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-fr/language/predefined/exception/construct.xml diff -u phpdoc-fr/language/predefined/exception/construct.xml:1.5 phpdoc-fr/language/predefined/exception/construct.xml:1.6 --- phpdoc-fr/language/predefined/exception/construct.xml:1.5 Thu Jan 8 20:42:26 2009 +++ phpdoc-fr/language/predefined/exception/construct.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?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: yes --> <refentry xml:id="exception.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -13,8 +13,9 @@ &reftitle.description; <constructorsynopsis> <modifier>public</modifier> <methodname>Exception::__construct</methodname> - <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>NULL</initializer></methodparam> + <methodparam choice="opt"><type>string</type><parameter>message</parameter><initializer>""</initializer></methodparam> <methodparam choice="opt"><type>int</type><parameter>code</parameter><initializer>0</initializer></methodparam> + <methodparam choice="opt"><type>Exception</type><parameter>previous</parameter><initializer>NULL</initializer></methodparam> </constructorsynopsis> <para> Construit l'exception. http://cvs.php.net/viewvc.cgi/phpdoc-fr/language/predefined/exception/getline.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-fr/language/predefined/exception/getline.xml diff -u phpdoc-fr/language/predefined/exception/getline.xml:1.3 phpdoc-fr/language/predefined/exception/getline.xml:1.4 --- phpdoc-fr/language/predefined/exception/getline.xml:1.3 Sun Jun 8 18:44:28 2008 +++ phpdoc-fr/language/predefined/exception/getline.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.3 $ --> -<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.4 $ --> +<!-- EN-Revision: 1.2 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="exception.getline" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -12,7 +12,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <modifier>final</modifier> <modifier>public</modifier> <type>string</type><methodname>Exception::getLine</methodname> + <modifier>final</modifier> <modifier>public</modifier> <type>int</type><methodname>Exception::getLine</methodname> <void /> </methodsynopsis> <para> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-getinfo.xml?r1=1.18&r2=1.19&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-getinfo.xml diff -u phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.18 phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.19 --- phpdoc-fr/reference/curl/functions/curl-getinfo.xml:1.18 Sun Nov 30 22:01:12 2008 +++ phpdoc-fr/reference/curl/functions/curl-getinfo.xml Fri Jan 9 18:02:44 2009 @@ -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 --> <!-- Reviewed: no --> <refentry xml:id='function.curl-getinfo' xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>mixed</type><methodname>curl_getinfo</methodname> <methodparam><type>resource</type><parameter>ch</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>opt</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>opt</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> Lit les informations détaillant le dernier transfert. http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-init.xml?r1=1.14&r2=1.15&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-init.xml diff -u phpdoc-fr/reference/curl/functions/curl-init.xml:1.14 phpdoc-fr/reference/curl/functions/curl-init.xml:1.15 --- phpdoc-fr/reference/curl/functions/curl-init.xml:1.14 Sat Jul 21 17:46:46 2007 +++ phpdoc-fr/reference/curl/functions/curl-init.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.14 $ --> -<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.15 $ --> +<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.curl-init" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>resource</type><methodname>curl_init</methodname> - <methodparam choice="opt"><type>string</type><parameter>url</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>url</parameter><initializer>NULL</initializer></methodparam> </methodsynopsis> <para> Initialise une nouvelle session et retourne un identifiant de session http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml diff -u phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml:1.11 phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml:1.12 --- phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml:1.11 Fri Dec 26 16:59:10 2008 +++ phpdoc-fr/reference/curl/functions/curl-multi-info-read.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.9 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.curl-multi-info-read" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>array</type><methodname>curl_multi_info_read</methodname> <methodparam><type>resource</type><parameter>mh</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>msgs_in_queue</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter role="reference">msgs_in_queue</parameter><initializer>NULL</initializer></methodparam> </methodsynopsis> <para> Appel le gestionnaire multiple s'il y a des messages ou des informations http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-multi-select.xml?r1=1.11&r2=1.12&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-multi-select.xml diff -u phpdoc-fr/reference/curl/functions/curl-multi-select.xml:1.11 phpdoc-fr/reference/curl/functions/curl-multi-select.xml:1.12 --- phpdoc-fr/reference/curl/functions/curl-multi-select.xml:1.11 Mon Apr 14 23:55:18 2008 +++ phpdoc-fr/reference/curl/functions/curl-multi-select.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.11 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.12 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.curl-multi-select" xmlns="http://docbook.org/ns/docbook"> @@ -14,7 +14,7 @@ <methodsynopsis> <type>int</type><methodname>curl_multi_select</methodname> <methodparam><type>resource</type><parameter>mh</parameter></methodparam> - <methodparam choice="opt"><type>float</type><parameter>timeout</parameter></methodparam> + <methodparam choice="opt"><type>float</type><parameter>timeout</parameter><initializer>1.0</initializer></methodparam> </methodsynopsis> <para> Récupère toutes les sockets associées à l'extension cURL, qui peuvent ainsi http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/curl/functions/curl-version.xml?r1=1.17&r2=1.18&diff_format=u Index: phpdoc-fr/reference/curl/functions/curl-version.xml diff -u phpdoc-fr/reference/curl/functions/curl-version.xml:1.17 phpdoc-fr/reference/curl/functions/curl-version.xml:1.18 --- phpdoc-fr/reference/curl/functions/curl-version.xml:1.17 Fri Jan 2 21:32:24 2009 +++ phpdoc-fr/reference/curl/functions/curl-version.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.17 $ --> -<!-- EN-Revision: 1.10 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.18 $ --> +<!-- EN-Revision: 1.11 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry xml:id="function.curl-version" xmlns="http://docbook.org/ns/docbook"> @@ -13,7 +13,7 @@ &reftitle.description; <methodsynopsis> <type>array</type><methodname>curl_version</methodname> - <methodparam choice="opt"><type>int</type><parameter>age</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>age</parameter><initializer>CURLVERSION_NOW</initializer></methodparam> </methodsynopsis> <para> Retourne des informations sur la version cURL. http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml diff -u phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml:1.1 phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml:1.2 --- phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml:1.1 Mon Mar 24 19:51:02 2008 +++ phpdoc-fr/reference/dom/domdocument/loadhtmlfile.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="domdocument.loadhtmlfile" xmlns="http://docbook.org/ns/docbook"> @@ -22,10 +22,13 @@ besoin d'être bien formé pour être chargé. </para> <para> - Cette fonction peut aussi être appelée statiquement pour charger et créer un objet - <classname>DOMDocument</classname>. L'appel statique peut être utilisé - lorsque vous n'avez besoin de configurer aucune propriété de - <classname>DOMDocument</classname> avant le chargement. + Bien que non recommandé, cette fonction peut aussi être appelée statiquement + pour charger et créer un objet <classname>DOMDocument</classname>. L'appel + statique peut être utilisé lorsque vous n'avez besoin de configurer aucune + propriété de <classname>DOMDocument</classname> avant le chargement. + Cependant, le fait d'utiliser un appel statique résultera en l'émission + d'une alerte de type + <link linkend="errorfunc.constants.errorlevels.e-strict">E_STRICT</link>. </para> </refsect1> <refsect1 role="parameters"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domdocument/loadhtml.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/domdocument/loadhtml.xml diff -u phpdoc-fr/reference/dom/domdocument/loadhtml.xml:1.1 phpdoc-fr/reference/dom/domdocument/loadhtml.xml:1.2 --- phpdoc-fr/reference/dom/domdocument/loadhtml.xml:1.1 Mon Mar 24 19:51:02 2008 +++ phpdoc-fr/reference/dom/domdocument/loadhtml.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="domdocument.loadhtml" xmlns="http://docbook.org/ns/docbook"> @@ -44,7 +44,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.success; Si appelé statiquement, retourne un + <classname>DOMDocument</classname> mais une alerte + de type <constant>E_STRICT</constant> sera émise. </para> </refsect1> <refsect1 role="errors"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domdocument/load.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-fr/reference/dom/domdocument/load.xml diff -u phpdoc-fr/reference/dom/domdocument/load.xml:1.2 phpdoc-fr/reference/dom/domdocument/load.xml:1.3 --- phpdoc-fr/reference/dom/domdocument/load.xml:1.2 Tue Apr 29 11:13:42 2008 +++ phpdoc-fr/reference/dom/domdocument/load.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- EN-Revision: 1.5 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.3 $ --> +<!-- EN-Revision: 1.7 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="domdocument.load" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,7 @@ <methodsynopsis> <type>mixed</type><methodname>DOMDocument::load</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> Charge un document XML depuis un fichier. @@ -55,8 +55,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; Si appelé statiquement, retourne un DOMDocument mais une alerte - de type E_STRICT sera émise. + &return.success; Si appelé statiquement, retourne un + <classname>DOMDocument</classname> mais une alerte + de type <constant>E_STRICT</constant> sera émise. </para> </refsect1> <refsect1 role="errors"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/dom/domdocument/loadxml.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-fr/reference/dom/domdocument/loadxml.xml diff -u phpdoc-fr/reference/dom/domdocument/loadxml.xml:1.1 phpdoc-fr/reference/dom/domdocument/loadxml.xml:1.2 --- phpdoc-fr/reference/dom/domdocument/loadxml.xml:1.1 Mon Mar 24 19:51:02 2008 +++ phpdoc-fr/reference/dom/domdocument/loadxml.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> -<!-- EN-Revision: 1.4 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.2 $ --> +<!-- EN-Revision: 1.6 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <refentry xml:id="domdocument.loadxml" xmlns="http://docbook.org/ns/docbook"> @@ -15,7 +15,7 @@ <methodsynopsis> <type>mixed</type><methodname>DOMDocument::loadXML</methodname> <methodparam><type>string</type><parameter>source</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> </methodsynopsis> <para> Charge un document XML depuis une chaîne de caractères. @@ -55,7 +55,9 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; Si appelé statiquement, retourne un DOMDocument. + &return.success; Si appelé statiquement, retourne un + <classname>DOMDocument</classname> et émet une alerte de type + <constant>E_STRICT</constant>. </para> </refsect1> <refsect1 role="errors"> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/info/ini.xml?r1=1.31&r2=1.32&diff_format=u Index: phpdoc-fr/reference/info/ini.xml diff -u phpdoc-fr/reference/info/ini.xml:1.31 phpdoc-fr/reference/info/ini.xml:1.32 --- phpdoc-fr/reference/info/ini.xml:1.31 Sat Dec 13 13:20:36 2008 +++ phpdoc-fr/reference/info/ini.xml Fri Jan 9 18:02:44 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.31 $ --> -<!-- EN-Revision: 1.25 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.32 $ --> +<!-- EN-Revision: 1.27 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <section xml:id="info.configuration" xmlns="http://docbook.org/ns/docbook"> @@ -20,71 +20,77 @@ </thead> <tbody> <row> - <entry>assert.active</entry> + <entry><link linkend="ini.assert.active">assert.active</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>assert.bail</entry> + <entry><link linkend="ini.assert.bail">assert.bail</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>assert.warning</entry> + <entry><link linkend="ini.assert.warning">assert.warning</link></entry> <entry>"1"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>assert.callback</entry> + <entry><link linkend="ini.assert.callback">assert.callback</link></entry> <entry>NULL</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>assert.quiet_eval</entry> + <entry><link linkend="ini.assert.quiet-eval">assert.quiet_eval</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>enable_dl</entry> + <entry><link linkend="ini.enable-dl">enable_dl</link></entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> <entry>Supprimé depuis PHP 6.0.0.</entry> </row> <row> - <entry>max_execution_time</entry> + <entry><link linkend="ini.max-execution-time">max_execution_time</link></entry> <entry>"30"</entry> <entry>PHP_INI_ALL</entry> <entry></entry> </row> <row> - <entry>max_input_time</entry> + <entry><link linkend="ini.max-input-time">max_input_time</link></entry> <entry>"-1"</entry> <entry>PHP_INI_PERDIR</entry> <entry>Disponible depuis PHP 4.3.0.</entry> </row> <row> - <entry>max_input_nesting_level</entry> + <entry><link linkend="ini.max-input-nesting-level">max_input_nesting_level</link></entry> <entry>"64"</entry> <entry>PHP_INI_PERDIR</entry> <entry>Disponible depuis PHP 4.4.8. Supprimé depuis PHP 5.0.0.</entry> </row> <row> - <entry>magic_quotes_gpc</entry> + <entry><link linkend="ini.magic-quotes-gpc">magic_quotes_gpc</link></entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> <entry>PHP_INI_ALL en PHP &lt;= 4.2.3. Supprimé depuis PHP 6.0.0.</entry> </row> <row> - <entry>magic_quotes_runtime</entry> + <entry><link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link></entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> <entry>Supprimé depuis PHP 6.0.0.</entry> </row> + <row> + <entry><link linkend="ini.zend.enable-gc">zend.enable_gc</link></entry> + <entry>"1"</entry> + <entry>PHP_INI_ALL</entry> + <entry>Disponible depuis PHP 5.3.0.</entry> + </row> </tbody> </tgroup> </table> @@ -299,6 +305,18 @@ </listitem> </varlistentry> + <varlistentry xml:id="ini.zend.enable-gc"> + <term> + <parameter>zend.enable_gc</parameter> + <type>boolean</type> + </term> + <listitem> + <para> + Active ou désactive la collecte des références circulaires. + </para> + </listitem> + </varlistentry> + </variablelist> </para> </section>
« previous php.doc.fr (#6328) next »