svn: /phpdoc/fr/trunk/ language/basic-syntax.xml language/namespaces.xml language/oop5/paamayim-nekudotayim.xml language/types/integer.xml
reference/array/functions/array-walk-recursive.xml reference/datetime/functions/strtotime.xml reference/errorfunc/constants.xml
reference/stream/functions/stream-context-get-default.xml
| From: | Yannick Torres | Date: | Mon, 17 Oct 2011 19:18:09 +0000 |
| Subject: | svn: /phpdoc/fr/trunk/ language/basic-syntax.xml language/namespaces.xml language/oop5/paamayim-nekudotayim.xml language/types/integer.xml reference/array/functions/array-walk-recursive.xml reference/datetime/functions/strtotime.xml reference/errorfunc/constants.xml reference/stream/functions/stream-context-get-default.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-8848@lists.php.net to get a copy of this message | ||
yannick Mon, 17 Oct 2011 19:18:09 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=318170
Log:
sync with EN
Changed paths:
U phpdoc/fr/trunk/language/basic-syntax.xml
U phpdoc/fr/trunk/language/namespaces.xml
U phpdoc/fr/trunk/language/oop5/paamayim-nekudotayim.xml
U phpdoc/fr/trunk/language/types/integer.xml
U phpdoc/fr/trunk/reference/array/functions/array-walk-recursive.xml
U phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml
U phpdoc/fr/trunk/reference/errorfunc/constants.xml
U phpdoc/fr/trunk/reference/stream/functions/stream-context-get-default.xml
Modified: phpdoc/fr/trunk/language/basic-syntax.xml
===================================================================
--- phpdoc/fr/trunk/language/basic-syntax.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/language/basic-syntax.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 310698 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318140 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="language.basic-syntax" xmlns="http://docbook.org/ns/docbook">
@@ -131,6 +131,13 @@
5.3 de PHP.
</para>
</note>
+ <note>
+ <para>
+ Depuis PHP 5.4, le tag echo court <literal><?=</literal> est toujours
reconnu
+ et valide, suivant la configuration de l'option
+ <link linkend="ini.short-open-tag">short_open_tag</link>.
+ </para>
+ </note>
</para>
</sect1>
<sect1 xml:id="language.basic-syntax.instruction-separation">
Modified: phpdoc/fr/trunk/language/namespaces.xml
===================================================================
--- phpdoc/fr/trunk/language/namespaces.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/language/namespaces.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 315517 Maintainer: jpauli Status: ready -->
+<!-- EN-Revision: 318138 Maintainer: jpauli Status: ready -->
<!-- Reviewed: yes -->
<chapter xml:id="language.namespaces" xmlns="http://docbook.org/ns/docbook"
@@ -76,6 +76,14 @@
]]>
</programlisting>
</example>
+ <note>
+ <para>
+ Les espaces de noms <literal>PHP</literal> et <literal>php</literal>,
+ mais aussi les noms composés commençant par ces noms (comme
<literal>PHP\Classes</literal>)
+ sont réservés pour l'utilisation interne du langage, et ne doivent pas être utilisés
+ dans le code de l'espace utilisateur.
+ </para>
+ </note>
</sect1>
<sect1 xml:id="language.namespaces.definition">
Modified: phpdoc/fr/trunk/language/oop5/paamayim-nekudotayim.xml
===================================================================
--- phpdoc/fr/trunk/language/oop5/paamayim-nekudotayim.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/language/oop5/paamayim-nekudotayim.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318102 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<sect1 xml:id="language.oop5.paamayim-nekudotayim" xmlns="http://docbook.org/ns/docbook">
@@ -51,9 +51,9 @@
</example>
<para>
- Deux mots-clé spéciaux, <varname>self</varname> et
<varname>parent</varname>,
- sont utilisés pour accéder aux proriétés ou aux méthodes depuis la définition
- de la classe.
+ Trois mots-clé spéciaux, <varname>self</varname>,
<varname>parent</varname>,
+ et <varname>static</varname> sont utilisés pour accéder aux proriétés ou aux
+ méthodes depuis la définition de la classe.
</para>
<example>
Modified: phpdoc/fr/trunk/language/types/integer.xml
===================================================================
--- phpdoc/fr/trunk/language/types/integer.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/language/types/integer.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 307334 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318142 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<sect1 xml:id="language.types.integer">
@@ -38,12 +38,18 @@
<simpara>
Les entiers peuvent être spécifiés en notation décimale (base 10), hexadécimale
- (base 16), ou octale (base 8), optionnellement précédée d'un signe (- ou +).
+ (base 16), octale (base 8), ou binaire (base 2) optionnellement précédée d'un signe (-
ou +).
</simpara>
<para>
+ Les entiers littéraux binaires sont disponibles depuis
+ PHP 5.4.0.
+ </para>
+
+ <para>
Pour utiliser la notation octale, précédez le nombre d'un
<literal>0</literal> (zéro).
Pour utiliser la notation hexadécimale, précédez le nombre d'un
<literal>0x</literal>.
+ Pour utiliser la notation binaire, précédez le nombre d'un
<literal>0b</literal>.
</para>
<example>
@@ -77,6 +83,7 @@
integer : [+-]?decimal
| [+-]?hexadecimal
| [+-]?octal
+ | [+-]?binary
]]>
</programlisting>
</informalexample>
Modified: phpdoc/fr/trunk/reference/array/functions/array-walk-recursive.xml
===================================================================
--- phpdoc/fr/trunk/reference/array/functions/array-walk-recursive.xml 2011-10-17 18:53:37 UTC (rev
318169)
+++ phpdoc/fr/trunk/reference/array/functions/array-walk-recursive.xml 2011-10-17 19:18:09 UTC (rev
318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318104 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.array-walk-recursive" xmlns="http://docbook.org/ns/docbook">
Modified: phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml
===================================================================
--- phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/reference/datetime/functions/strtotime.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 317556 Maintainer: jpauli Status: ready -->
+<!-- EN-Revision: 318103 Maintainer: jpauli Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="function.strtotime" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -13,7 +13,7 @@
<methodsynopsis>
<type>int</type><methodname>strtotime</methodname>
<methodparam><type>string</type><parameter>time</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>now</parameter></methodparam>
+ <methodparam
choice="opt"><type>int</type><parameter>now</parameter><initializer>time()</initializer></methodparam>
</methodsynopsis>
<simpara>
<function>strtotime</function> essaye de lire une date au format
Modified: phpdoc/fr/trunk/reference/errorfunc/constants.xml
===================================================================
--- phpdoc/fr/trunk/reference/errorfunc/constants.xml 2011-10-17 18:53:37 UTC (rev 318169)
+++ phpdoc/fr/trunk/reference/errorfunc/constants.xml 2011-10-17 19:18:09 UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 315442 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318141 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<appendix xml:id="errorfunc.constants" xmlns="http://docbook.org/ns/docbook"
xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.constants;
@@ -255,7 +255,7 @@
</entry>
<entry>
Toutes les erreurs et alertes supportées sauf le niveau
- <constant>E_STRICT</constant>.
+ <constant>E_STRICT</constant> avant la version 5.4.0 de PHP.
</entry>
<entry>
32767 en PHP 5.4.x,
Modified: phpdoc/fr/trunk/reference/stream/functions/stream-context-get-default.xml
===================================================================
--- phpdoc/fr/trunk/reference/stream/functions/stream-context-get-default.xml 2011-10-17 18:53:37
UTC (rev 318169)
+++ phpdoc/fr/trunk/reference/stream/functions/stream-context-get-default.xml 2011-10-17 19:18:09
UTC (rev 318170)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 318105 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<refentry xml:id="function.stream-context-get-default" xmlns="http://docbook.org/ns/docbook">