cvs: phpdoc-fr /appendices reserved.xml tokens.xml wrappers.xml

From: Date: Thu, 26 Mar 2009 13:05:23 +0000
Subject: cvs: phpdoc-fr /appendices reserved.xml tokens.xml wrappers.xml
Groups: php.doc.fr 
Request: Send a blank email to doc-fr+get-6854@lists.php.net to get a copy of this message
dams Thu Mar 26 13:05:23 2009 UTC Modified files: /phpdoc-fr/appendices reserved.xml tokens.xml wrappers.xml Log: synch with en

http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/reserved.xml?r1=1.69&r2=1.70&diff_format=u Index: phpdoc-fr/appendices/reserved.xml diff -u phpdoc-fr/appendices/reserved.xml:1.69 phpdoc-fr/appendices/reserved.xml:1.70 --- phpdoc-fr/appendices/reserved.xml:1.69 Mon Feb 16 15:43:31 2009 +++ phpdoc-fr/appendices/reserved.xml Thu Mar 26 13:05:22 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.69 $ --> -<!-- EN-Revision: 1.81 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.70 $ --> +<!-- EN-Revision: 1.82 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="reserved" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -19,10 +19,10 @@ Ces mots ont un sens spécial en PHP. Certains représentent des objets qui ressemblent à des fonctions, d'autres à des constantes, et ainsi de suite, mais ils n'en sont pas vraiment : ce sont des structures de langage. - Vous ne pourrez pas les utiliser comme constante, nom de classe, nom de fonctions ou - nom de méthodes. - Vous pouvez les utiliser comme nom de variables, mais cela risque d'entrainer - des confusions. + Vous ne pourrez pas les utiliser comme constante, nom de classes, + nom de fonctions ou nom de méthodes. + Vous pouvez les utiliser comme nom de variables, mais cela risque + d'entraîner des confusions. </simpara> <table> @@ -340,7 +340,7 @@ <title>Classes prédéfinies en PHP 5</title> <simpara> - Ces classes supplémentaires ont été ajoutées en PHP 5.0.0. + Ces classes ont été ajoutées en PHP 5.0.0. </simpara> <variablelist> @@ -387,6 +387,25 @@ </variablelist> </sect2> + + <sect2 xml:id="reserved.classes.closure"> + <title>Closure</title> + + <simpara> + La classe prédéfinie finale <classname>Closure</classname> a été introduite + en PHP 5.3.0. Elle est utilisée pour l'implémentation interne des + <link linkend="functions.anonymous">fonctions anonymes</link>. + </simpara> + <simpara> + La classe dispose d'un constructeur qui interdit la création manuelle + de l'objet (il émet une erreur <constant>E_RECOVERABLE_ERROR</constant>) + et appelle la méthode <literal>__invoke</literal> sur + <link linkend="language.oop5.magic.invoke">appel magique</link>. + </simpara> + + </sect2> + + </sect1> &appendices.reserved.constants; http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/tokens.xml?r1=1.34&r2=1.35&diff_format=u Index: phpdoc-fr/appendices/tokens.xml diff -u phpdoc-fr/appendices/tokens.xml:1.34 phpdoc-fr/appendices/tokens.xml:1.35 --- phpdoc-fr/appendices/tokens.xml:1.34 Mon Feb 16 15:43:31 2009 +++ phpdoc-fr/appendices/tokens.xml Thu Mar 26 13:05:23 2009 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.34 $ --> -<!-- EN-Revision: 1.33 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.35 $ --> +<!-- EN-Revision: 1.34 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="tokens" xmlns="http://docbook.org/ns/docbook"> @@ -29,85 +29,85 @@ </thead> <tbody> <row> - <entry>T_ABSTRACT</entry> + <entry><constant>T_ABSTRACT</constant></entry> <entry>abstract</entry> <entry><xref linkend="language.oop5.abstract"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_AND_EQUAL</entry> + <entry><constant>T_AND_EQUAL</constant></entry> <entry>&amp;=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_ARRAY</entry> + <entry><constant>T_ARRAY</constant></entry> <entry>array()</entry> <entry><function>array</function>, <link linkend="language.types.array.syntax">syntaxe de tableau</link></entry> </row> <row> - <entry>T_ARRAY_CAST</entry> + <entry><constant>T_ARRAY_CAST</constant></entry> <entry>(array)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_AS</entry> + <entry><constant>T_AS</constant></entry> <entry>as</entry> <entry>&foreach;</entry> </row> <row> - <entry>T_BAD_CHARACTER</entry> + <entry><constant>T_BAD_CHARACTER</constant></entry> <entry></entry> <entry>Tous les caractères en dessous de ASCII 32 excepté \t (0x09), \n (0x0a) et \r (0x0d)</entry> </row> <row> - <entry>T_BOOLEAN_AND</entry> + <entry><constant>T_BOOLEAN_AND</constant></entry> <entry>&amp;&amp;</entry> <entry><link linkend="language.operators.logical">opérateurs logiques</link></entry> </row> <row> - <entry>T_BOOLEAN_OR</entry> + <entry><constant>T_BOOLEAN_OR</constant></entry> <entry>||</entry> <entry><link linkend="language.operators.logical">opérateurs logiques</link></entry> </row> <row> - <entry>T_BOOL_CAST</entry> + <entry><constant>T_BOOL_CAST</constant></entry> <entry>(bool) ou (boolean)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_BREAK</entry> + <entry><constant>T_BREAK</constant></entry> <entry>break;</entry> <entry><link linkend="control-structures.break">break</link></entry> </row> <row> - <entry>T_CASE</entry> + <entry><constant>T_CASE</constant></entry> <entry>case</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> - <entry>T_CATCH</entry> + <entry><constant>T_CATCH</constant></entry> <entry>catch</entry> <entry><xref linkend="language.exceptions"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_CHARACTER</entry> + <entry><constant>T_CHARACTER</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_CLASS</entry> + <entry><constant>T_CLASS</constant></entry> <entry>class</entry> <entry><link linkend="language.oop5">classes et objets</link></entry> </row> <row> - <entry>T_CLASS_C</entry> - <entry>__CLASS__</entry> + <entry><constant>T_CLASS_C</constant></entry> + <entry><constant>__CLASS__</constant></entry> <entry> <link linkend="language.constants.predefined">constantes magiques</link> (disponible depuis PHP 4.3.0) </entry> </row> <row> - <entry>T_CLONE</entry> + <entry><constant>T_CLONE</constant></entry> <entry>clone</entry> <entry> <link linkend="language.oop5">classes et objets</link>. @@ -115,213 +115,213 @@ </entry> </row> <row> - <entry>T_CLOSE_TAG</entry> + <entry><constant>T_CLOSE_TAG</constant></entry> <entry>?> ou %></entry> <entry></entry> </row> <row> - <entry>T_COMMENT</entry> + <entry><constant>T_COMMENT</constant></entry> <entry>// ou #, et /* */ en PHP 5</entry> <entry><link linkend="language.basic-syntax.comments">commentaires</link></entry> </row> <row> - <entry>T_CONCAT_EQUAL</entry> + <entry><constant>T_CONCAT_EQUAL</constant></entry> <entry><literal>.=</literal></entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_CONST</entry> + <entry><constant>T_CONST</constant></entry> <entry>const</entry> <entry></entry> </row> <row> - <entry>T_CONSTANT_ENCAPSED_STRING</entry> + <entry><constant>T_CONSTANT_ENCAPSED_STRING</constant></entry> <entry>"foo" ou 'bar'</entry> <entry><link linkend="language.types.string.syntax">syntaxe chaîne de caractères</link></entry> </row> <row> - <entry>T_CONTINUE</entry> + <entry><constant>T_CONTINUE</constant></entry> <entry>continue</entry> <entry></entry> </row> <row> - <entry>T_CURLY_OPEN</entry> + <entry><constant>T_CURLY_OPEN</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_DEC</entry> + <entry><constant>T_DEC</constant></entry> <entry>--</entry> <entry><link linkend="language.operators.increment">opérateurs d'incrémention/décrémention</link></entry> </row> <row> - <entry>T_DECLARE</entry> + <entry><constant>T_DECLARE</constant></entry> <entry>declare</entry> <entry><link linkend="control-structures.declare">declare</link></entry> </row> <row> - <entry>T_DEFAULT</entry> + <entry><constant>T_DEFAULT</constant></entry> <entry>default</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> - <entry>T_DIR</entry> + <entry><constant>T_DIR</constant></entry> <entry>__DIR__</entry> <entry><link linkend="language.constants.predefined">constantes magiques</link> (disponible depuis PHP 5.3.0)</entry> </row> <row> - <entry>T_DIV_EQUAL</entry> + <entry><constant>T_DIV_EQUAL</constant></entry> <entry>/=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_DNUMBER</entry> + <entry><constant>T_DNUMBER</constant></entry> <entry>0.12, etc.</entry> <entry><link linkend="language.types.float">nombres à virgule flottante</link></entry> </row> <row> - <entry>T_DOC_COMMENT</entry> + <entry><constant>T_DOC_COMMENT</constant></entry> <entry>/** */</entry> <entry> <link linkend="language.basic-syntax.comments">style de commentaire dans la PHPDoc</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_DO</entry> + <entry><constant>T_DO</constant></entry> <entry>do</entry> <entry><link linkend="control-structures.do.while">do...while</link></entry> </row> <row> - <entry>T_DOLLAR_OPEN_CURLY_BRACES</entry> + <entry><constant>T_DOLLAR_OPEN_CURLY_BRACES</constant></entry> <entry>${</entry> <entry><link linkend="language.types.string.parsing.complex">syntaxe de variable complexe analysée</link></entry> </row> <row> - <entry>T_DOUBLE_ARROW</entry> + <entry><constant>T_DOUBLE_ARROW</constant></entry> <entry>=&gt;</entry> <entry><link linkend="language.types.array.syntax">syntaxe de tableau</link></entry> </row> <row> - <entry>T_DOUBLE_CAST</entry> + <entry><constant>T_DOUBLE_CAST</constant></entry> <entry>(real), (double) ou (float)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_DOUBLE_COLON</entry> + <entry><constant>T_DOUBLE_COLON</constant></entry> <entry>::</entry> <entry>Voyez <constant>T_PAAMAYIM_NEKUDOTAYIM</constant> plus bas</entry> </row> <row> - <entry>T_ECHO</entry> + <entry><constant>T_ECHO</constant></entry> <entry>echo</entry> <entry><function>echo</function></entry> </row> <row> - <entry>T_ELSE</entry> + <entry><constant>T_ELSE</constant></entry> <entry>else</entry> <entry><link linkend="control-structures.else">else</link></entry> </row> <row> - <entry>T_ELSEIF</entry> + <entry><constant>T_ELSEIF</constant></entry> <entry>elseif</entry> <entry><link linkend="control-structures.elseif">elseif</link></entry> </row> <row> - <entry>T_EMPTY</entry> + <entry><constant>T_EMPTY</constant></entry> <entry>empty</entry> <entry><function>empty</function></entry> </row> <row> - <entry>T_ENCAPSED_AND_WHITESPACE</entry> + <entry><constant>T_ENCAPSED_AND_WHITESPACE</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_ENDDECLARE</entry> + <entry><constant>T_ENDDECLARE</constant></entry> <entry>enddeclare</entry> <entry><link linkend="control-structures.declare">declare</link>, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_ENDFOR</entry> + <entry><constant>T_ENDFOR</constant></entry> <entry>endfor</entry> <entry><link linkend="control-structures.for">for</link>, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_ENDFOREACH</entry> + <entry><constant>T_ENDFOREACH</constant></entry> <entry>endforeach</entry> <entry>&foreach;, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_ENDIF</entry> + <entry><constant>T_ENDIF</constant></entry> <entry>endif</entry> <entry><link linkend="control-structures.if">if</link>, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_ENDSWITCH</entry> + <entry><constant>T_ENDSWITCH</constant></entry> <entry>endswitch</entry> <entry><link linkend="control-structures.switch">switch</link>, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_ENDWHILE</entry> + <entry><constant>T_ENDWHILE</constant></entry> <entry>endwhile</entry> <entry><link linkend="control-structures.while">while</link>, <link linkend="control-structures.alternative-syntax">syntaxe alternative</link></entry> </row> <row> - <entry>T_END_HEREDOC</entry> + <entry><constant>T_END_HEREDOC</constant></entry> <entry></entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> - <entry>T_EVAL</entry> + <entry><constant>T_EVAL</constant></entry> <entry>eval()</entry> <entry><function>eval</function></entry> </row> <row> - <entry>T_EXIT</entry> + <entry><constant>T_EXIT</constant></entry> <entry>exit or die</entry> <entry><function>exit</function>, <function>die</function></entry> </row> <row> - <entry>T_EXTENDS</entry> + <entry><constant>T_EXTENDS</constant></entry> <entry>extends</entry> <entry><link linkend="keyword.extends">extends</link>, <link linkend="language.oop5">classes et objets</link></entry> </row> <row> - <entry>T_FILE</entry> + <entry><constant>T_FILE</constant></entry> <entry>__FILE__</entry> <entry><link linkend="language.constants.predefined">constantes magiques</link></entry> </row> <row> - <entry>T_FINAL</entry> + <entry><constant>T_FINAL</constant></entry> <entry>final</entry> <entry><xref linkend="language.oop5.final"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_FOR</entry> + <entry><constant>T_FOR</constant></entry> <entry>for</entry> <entry><link linkend="control-structures.for">for</link></entry> </row> <row> - <entry>T_FOREACH</entry> + <entry><constant>T_FOREACH</constant></entry> <entry>foreach</entry> <entry>&foreach;</entry> </row> <row> - <entry>T_FUNCTION</entry> + <entry><constant>T_FUNCTION</constant></entry> <entry>function or cfunction</entry> <entry><link linkend="language.functions">fonctions</link></entry> </row> <row> - <entry>T_FUNC_C</entry> + <entry><constant>T_FUNC_C</constant></entry> <entry>__FUNCTION__</entry> <entry> <link linkend="language.constants.predefined">constantes magiques</link> @@ -329,135 +329,135 @@ </entry> </row> <row> - <entry>T_GLOBAL</entry> + <entry><constant>T_GLOBAL</constant></entry> <entry>global</entry> <entry><link linkend="language.variables.scope">scope de variable</link></entry> </row> <row> - <entry>T_GOTO</entry> + <entry><constant>T_GOTO</constant></entry> <entry>goto</entry> <entry>non documenté (disponible depuis PHP 5.3.0)</entry> </row> <row> - <entry>T_HALT_COMPILER</entry> + <entry><constant>T_HALT_COMPILER</constant></entry> <entry>__halt_compiler()</entry> <entry><xref linkend="function.halt-compiler"/> (disponible depuis PHP 5.1.0)</entry> </row> <row> - <entry>T_IF</entry> + <entry><constant>T_IF</constant></entry> <entry>if</entry> <entry><link linkend="control-structures.if">if</link></entry> </row> <row> - <entry>T_IMPLEMENTS</entry> + <entry><constant>T_IMPLEMENTS</constant></entry> <entry>implements</entry> <entry><xref linkend="language.oop5.interfaces"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_INC</entry> + <entry><constant>T_INC</constant></entry> <entry>++</entry> <entry><link linkend="language.operators.increment">opérateurs d'incrémention/décrémention</link></entry> </row> <row> - <entry>T_INCLUDE</entry> + <entry><constant>T_INCLUDE</constant></entry> <entry>include()</entry> <entry><function>include</function></entry> </row> <row> - <entry>T_INCLUDE_ONCE</entry> + <entry><constant>T_INCLUDE_ONCE</constant></entry> <entry>include_once()</entry> <entry><function>include_once</function></entry> </row> <row> - <entry>T_INLINE_HTML</entry> + <entry><constant>T_INLINE_HTML</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_INSTANCEOF</entry> + <entry><constant>T_INSTANCEOF</constant></entry> <entry>instanceof</entry> <entry> <link linkend="language.operators.type">opérateurs de type</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_INT_CAST</entry> + <entry><constant>T_INT_CAST</constant></entry> <entry>(int) ou (integer)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_INTERFACE</entry> + <entry><constant>T_INTERFACE</constant></entry> <entry>interface</entry> <entry><xref linkend="language.oop5.interfaces"/> (dipsonible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_ISSET</entry> + <entry><constant>T_ISSET</constant></entry> <entry>isset()</entry> <entry><function>isset</function></entry> </row> <row> - <entry>T_IS_EQUAL</entry> + <entry><constant>T_IS_EQUAL</constant></entry> <entry>==</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_IS_GREATER_OR_EQUAL</entry> + <entry><constant>T_IS_GREATER_OR_EQUAL</constant></entry> <entry>&gt;=</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_IS_IDENTICAL</entry> + <entry><constant>T_IS_IDENTICAL</constant></entry> <entry>===</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_IS_NOT_EQUAL</entry> + <entry><constant>T_IS_NOT_EQUAL</constant></entry> <entry>!= ou &lt;&gt;</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_IS_NOT_IDENTICAL</entry> + <entry><constant>T_IS_NOT_IDENTICAL</constant></entry> <entry>!==</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_IS_SMALLER_OR_EQUAL</entry> + <entry><constant>T_IS_SMALLER_OR_EQUAL</constant></entry> <entry>&lt;=</entry> <entry><link linkend="language.operators.comparison">opérateurs de comparaison</link></entry> </row> <row> - <entry>T_LINE</entry> + <entry><constant>T_LINE</constant></entry> <entry>__LINE__</entry> <entry><link linkend="language.constants.predefined">constantes magiques</link></entry> </row> <row> - <entry>T_LIST</entry> + <entry><constant>T_LIST</constant></entry> <entry>list()</entry> <entry><function>list</function></entry> </row> <row> - <entry>T_LNUMBER</entry> + <entry><constant>T_LNUMBER</constant></entry> <entry>123, 012, 0x1ac, etc</entry> <entry><link linkend="language.types.integer">entiers</link></entry> </row> <row> - <entry>T_LOGICAL_AND</entry> + <entry><constant>T_LOGICAL_AND</constant></entry> <entry>and</entry> <entry><link linkend="language.operators.logical">opérateurs logiques</link></entry> </row> <row> - <entry>T_LOGICAL_OR</entry> + <entry><constant>T_LOGICAL_OR</constant></entry> <entry>or</entry> <entry><link linkend="language.operators.logical">opérateurs logiques</link></entry> </row> <row> - <entry>T_LOGICAL_XOR</entry> + <entry><constant>T_LOGICAL_XOR</constant></entry> <entry>xor</entry> <entry><link linkend="language.operators.logical">opérateurs logiques</link></entry> </row> <row> - <entry>T_METHOD_C</entry> + <entry><constant>T_METHOD_C</constant></entry> <entry>__METHOD__</entry> <entry> <link linkend="language.constants.predefined">constantes magiques</link> @@ -465,27 +465,27 @@ </entry> </row> <row> - <entry>T_MINUS_EQUAL</entry> + <entry><constant>T_MINUS_EQUAL</constant></entry> <entry>-=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_ML_COMMENT</entry> + <entry><constant>T_ML_COMMENT</constant></entry> <entry>/* et */</entry> <entry><link linkend="language.basic-syntax.comments">commentaires</link> (PHP 4 uniquement)</entry> </row> <row> - <entry>T_MOD_EQUAL</entry> + <entry><constant>T_MOD_EQUAL</constant></entry> <entry>%=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_MUL_EQUAL</entry> + <entry><constant>T_MUL_EQUAL</constant></entry> <entry>*=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_NS_C</entry> + <entry><constant>T_NS_C</constant></entry> <entry>__NAMESPACE__</entry> <entry> <link linkend="language.namespaces">namespaces</link>. @@ -494,194 +494,194 @@ </entry> </row> <row> - <entry>T_NEW</entry> + <entry><constant>T_NEW</constant></entry> <entry>new</entry> <entry><link linkend="language.oop5">classes et objets</link></entry> </row> <row> - <entry>T_NUM_STRING</entry> + <entry><constant>T_NUM_STRING</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_OBJECT_CAST</entry> + <entry><constant>T_OBJECT_CAST</constant></entry> <entry>(object)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_OBJECT_OPERATOR</entry> + <entry><constant>T_OBJECT_OPERATOR</constant></entry> <entry>-></entry> <entry><link linkend="language.oop5">classes et objets</link></entry> </row> <row> - <entry>T_OLD_FUNCTION</entry> + <entry><constant>T_OLD_FUNCTION</constant></entry> <entry>old_function</entry> <entry></entry> </row> <row> - <entry>T_OPEN_TAG</entry> + <entry><constant>T_OPEN_TAG</constant></entry> <entry>&lt;?php, &lt;? or &lt;%</entry> <entry><link linkend="language.basic-syntax.phpmode">sortie du mode HTML</link></entry> </row> <row> - <entry>T_OPEN_TAG_WITH_ECHO</entry> + <entry><constant>T_OPEN_TAG_WITH_ECHO</constant></entry> <entry>&lt;?= ou &lt;%=</entry> <entry><link linkend="language.basic-syntax.phpmode">sortie du mode HTML</link></entry> </row> <row> - <entry>T_OR_EQUAL</entry> + <entry><constant>T_OR_EQUAL</constant></entry> <entry>|=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_PAAMAYIM_NEKUDOTAYIM</entry> + <entry><constant>T_PAAMAYIM_NEKUDOTAYIM</constant></entry> <entry>::</entry> <entry><link linkend="keyword.paamayim-nekudotayim">::</link>. Définie également en tant que <constant>T_DOUBLE_COLON</constant>.</entry> </row> <row> - <entry>T_PLUS_EQUAL</entry> + <entry><constant>T_PLUS_EQUAL</constant></entry> <entry>+=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_PRINT</entry> + <entry><constant>T_PRINT</constant></entry> <entry>print()</entry> <entry><function>print</function></entry> </row> <row> - <entry>T_PRIVATE</entry> + <entry><constant>T_PRIVATE</constant></entry> <entry>private</entry> <entry><link linkend="language.oop5">classes et objets</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_PUBLIC</entry> + <entry><constant>T_PUBLIC</constant></entry> <entry>public</entry> <entry><link linkend="language.oop5">classes et objets</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_PROTECTED</entry> + <entry><constant>T_PROTECTED</constant></entry> <entry>protected</entry> <entry><link linkend="language.oop5">classes et objets</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_REQUIRE</entry> + <entry><constant>T_REQUIRE</constant></entry> <entry>require()</entry> <entry><function>require</function></entry> </row> <row> - <entry>T_REQUIRE_ONCE</entry> + <entry><constant>T_REQUIRE_ONCE</constant></entry> <entry>require_once()</entry> <entry><function>require_once</function></entry> </row> <row> - <entry>T_RETURN</entry> + <entry><constant>T_RETURN</constant></entry> <entry>return</entry> <entry><link linkend="functions.returning-values">valeurs retournées</link></entry> </row> <row> - <entry>T_SL</entry> + <entry><constant>T_SL</constant></entry> <entry>&lt;&lt;</entry> <entry><link linkend="language.operators.bitwise">opérateurs sur les bits</link></entry> </row> <row> - <entry>T_SL_EQUAL</entry> + <entry><constant>T_SL_EQUAL</constant></entry> <entry>&lt;&lt;=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_SR</entry> + <entry><constant>T_SR</constant></entry> <entry>&gt;&gt;</entry> <entry><link linkend="language.operators.bitwise">opérateurs sur les bits</link></entry> </row> <row> - <entry>T_SR_EQUAL</entry> + <entry><constant>T_SR_EQUAL</constant></entry> <entry>&gt;&gt;=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> <row> - <entry>T_START_HEREDOC</entry> + <entry><constant>T_START_HEREDOC</constant></entry> <entry>&lt;&lt;&lt;</entry> <entry><link linkend="language.types.string.syntax.heredoc">syntaxe heredoc</link></entry> </row> <row> - <entry>T_STATIC</entry> + <entry><constant>T_STATIC</constant></entry> <entry>static</entry> <entry><link linkend="language.variables.scope">scope de variable</link></entry> </row> <row> - <entry>T_STRING</entry> + <entry><constant>T_STRING</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_STRING_CAST</entry> + <entry><constant>T_STRING_CAST</constant></entry> <entry>(string)</entry> <entry><link linkend="language.types.typecasting">transtypage</link></entry> </row> <row> - <entry>T_STRING_VARNAME</entry> + <entry><constant>T_STRING_VARNAME</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_SWITCH</entry> + <entry><constant>T_SWITCH</constant></entry> <entry>switch</entry> <entry><link linkend="control-structures.switch">switch</link></entry> </row> <row> - <entry>T_THROW</entry> + <entry><constant>T_THROW</constant></entry> <entry>throw</entry> <entry><xref linkend="language.exceptions"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_TRY</entry> + <entry><constant>T_TRY</constant></entry> <entry>try</entry> <entry><xref linkend="language.exceptions"/> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_UNSET</entry> + <entry><constant>T_UNSET</constant></entry> <entry>unset()</entry> <entry><function>unset</function></entry> </row> <row> - <entry>T_UNSET_CAST</entry> + <entry><constant>T_UNSET_CAST</constant></entry> <entry>(unset)</entry> <entry><link linkend="language.types.typecasting">type-casting</link> (disponible depuis PHP 5.0.0)</entry> </row> <row> - <entry>T_USE</entry> + <entry><constant>T_USE</constant></entry> <entry>use</entry> <entry><link linkend="language.namespaces">namespaces</link> (disponible depuis PHP 5.3.0)</entry> </row> <row> - <entry>T_VAR</entry> + <entry><constant>T_VAR</constant></entry> <entry>var</entry> <entry><link linkend="language.oop">classes et objets</link></entry> </row> <row> - <entry>T_VARIABLE</entry> + <entry><constant>T_VARIABLE</constant></entry> <entry>$foo</entry> <entry><link linkend="language.variables">variables</link></entry> </row> <row> - <entry>T_WHILE</entry> + <entry><constant>T_WHILE</constant></entry> <entry>while</entry> - <entry><link linkend="control-structures.while">while</link>, <link - linkend="control-structures.do.while">do...while</link></entry> + <entry><link linkend="control-structures.while">while</link>, + <link linkend="control-structures.do.while">do...while</link></entry> </row> <row> - <entry>T_WHITESPACE</entry> + <entry><constant>T_WHITESPACE</constant></entry> <entry></entry> <entry></entry> </row> <row> - <entry>T_XOR_EQUAL</entry> + <entry><constant>T_XOR_EQUAL</constant></entry> <entry>^=</entry> <entry><link linkend="language.operators.assignment">opérateurs d'assignation</link></entry> </row> http://cvs.php.net/viewvc.cgi/phpdoc-fr/appendices/wrappers.xml?r1=1.55&r2=1.56&diff_format=u Index: phpdoc-fr/appendices/wrappers.xml diff -u phpdoc-fr/appendices/wrappers.xml:1.55 phpdoc-fr/appendices/wrappers.xml:1.56 --- phpdoc-fr/appendices/wrappers.xml:1.55 Sun Feb 8 15:20:37 2009 +++ phpdoc-fr/appendices/wrappers.xml Thu Mar 26 13:05:23 2009 @@ -1,18 +1,16 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.55 $ --> -<!-- EN-Revision: 1.81 Maintainer: yannick Status: ready --> +<!-- $Revision: 1.56 $ --> +<!-- EN-Revision: 1.82 Maintainer: yannick Status: ready --> <!-- Reviewed: yes --> <appendix xml:id="wrappers" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Liste des protocoles supportés</title> <para> - Cette section recense une liste de protocoles gérant les URL, - qui sont intégrés dans les fonctions d'accès aux fichiers, - dans PHP. Par exemple, les fonctions - <function>fopen</function> et <function>copy</function>. - Ces fonctionnalités sont compilées comme des gestionnaires externes, - et à partir de PHP 4.3.0, vous pouvez créer vos propres - gestionnaires, avec la fonction <function>stream_register_wrapper</function>. + PHP dispose de nombreux protocoles natifs, pour différents styles d'URL, + à utiliser avec des fonctions de fichiers telles que <function>fopen</function> + et <function>copy</function>. En plus de ces protocoles, depuis PHP 4.3.0, vous pouvez + écrire vos propres protocoles et les enregistrer avec la fonction + <function>stream_wrapper_register</function>. </para> <para> La liste des options de contexte est disponible dans le chapitre
« previous php.doc.fr (#6854) next »