svn: /phpdoc/fr/trunk/language/ types/declarations.xml types.xml

[email protected] (George Peter Banyard)
Newsgroups php.doc.fr
Message-ID <[email protected]>
girgias                                  Tue, 01 Dec 2020 16:14:31 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351820

Log:
Apply SVN revision 351804

Changed paths:
    U   phpdoc/fr/trunk/language/types/declarations.xml
    U   phpdoc/fr/trunk/language/types.xml

Modified: phpdoc/fr/trunk/language/types/declarations.xml
===================================================================
--- phpdoc/fr/trunk/language/types/declarations.xml	2020-12-01 15:04:56 UTC (rev 351819)
+++ phpdoc/fr/trunk/language/types/declarations.xml	2020-12-01 16:14:31 UTC (rev 351820)
@@ -1,8 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351382 Maintainer: girgias Status: ready -->
+<!-- EN-Revision: 351804 Maintainer: girgias Status: ready -->
 <!-- Reviewed: no -->
-
 <sect1 xml:id="language.types.declarations">
  <title>Déclarations de type</title>

@@ -153,6 +152,19 @@
    </para>
   </warning>

+  <sect3 xml:id="language.types.declarations.mixed">
+   <title>mixed</title>
+
+   <para>
+    <type>mixed</type> is equivalent to the <link linkend="language.types.declarations.union">union type</link>
+    <type class="union">
+     <type>array</type><type>bool</type><type>callable</type><type>int</type><type>float</type>
+     <type>object</type><type>resource</type><type>string</type><type>null</type>
+    </type>.
+    Disponible à partir de PHP 8.0.0.
+   </para>
+  </sect3>
+
   <sect3 xml:id="language.types.declarations.examples">
    &reftitle.examples;
    <example>

Modified: phpdoc/fr/trunk/language/types.xml
===================================================================
--- phpdoc/fr/trunk/language/types.xml	2020-12-01 15:04:56 UTC (rev 351819)
+++ phpdoc/fr/trunk/language/types.xml	2020-12-01 16:14:31 UTC (rev 351820)
@@ -1,9 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351700 Maintainer: yannick Status: ready -->
+<!-- EN-Revision: 351804 Maintainer: yannick Status: ready -->
 <!-- Reviewed: no -->
 <!-- CREDITS: DAnnebicque -->
-
 <chapter xml:id="language.types" xmlns="http://docbook.org/ns/docbook">
  <title>Les types</title>

@@ -98,28 +97,6 @@

   </itemizedlist>

-  <para>
-   Ce manuel introduit également quelques
-   <link linkend="language.pseudo-types">pseudo-types</link> pour des raisons
-   de lisibilité :
-  </para>
-
-  <itemizedlist>
-
-   <listitem>
-    <simpara>
-     <type>mixed</type>
-    </simpara>
-   </listitem>
-
-   <listitem>
-    <simpara>
-     <type>void</type>
-    </simpara>
-   </listitem>
-
-  </itemizedlist>
-
   <simpara>
    Ce manuel peut toutefois contenir des références au type "double".
    Considérez ce type comme étant un type "float". Les deux noms n'existent
@@ -202,7 +179,6 @@
  &language.types.null;
  &language.types.callable;
  &language.types.declarations;
- &language.types.pseudo-types;
  &language.types.type-juggling;

 </chapter>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.