mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-04-28 03:03:19 +02:00
46 lines
1.4 KiB
XML
46 lines
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: pierrick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<sect1 xml:id="language.types.mixed">
|
|
<title>Mixed</title>
|
|
|
|
<para>
|
|
Le type <type>mixed</type> accepte toutes les valeurs. Il est équivalent au
|
|
<link linkend="language.types.type-system.composite.union">type union</link>
|
|
<!-- Need to improve rendering of free-standing type elements in PhD
|
|
<type class="union">
|
|
<type>object</type><type>resource</type><type>array</type><type>string</type>
|
|
<type>int</type><type>float</type><type>bool</type><type>null</type>
|
|
</type>.
|
|
-->
|
|
<literal>objet|ressource|array|string|float|int|bool|null</literal>.
|
|
Disponible à partir de PHP 8.0.0.
|
|
</para>
|
|
|
|
<para>
|
|
<type>mixed</type> est, dans le langage de la théorie des types, le type supérieur.
|
|
Cela signifie que tous les autres types sont des sous-types de ce type.
|
|
</para>
|
|
|
|
</sect1>
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|