mirror of
https://github.com/php/doc-fr.git
synced 2026-03-24 07:02:06 +01:00
43 lines
1.2 KiB
XML
43 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 161dde4fe721309398dd324edbf02aec409f127b Maintainer: pierrick Status: ready -->
|
|
<!-- Reviewed: no -->
|
|
<sect1 xml:id="language.types.void">
|
|
<title>Void</title>
|
|
|
|
<para>
|
|
<type>void</type> est une déclaration de type de retour uniquement, indiquant que la fonction
|
|
ne retourne pas de valeur, mais que la fonction peut quand même se terminer.
|
|
Il ne peut donc pas faire partie d'une déclaration de
|
|
<link linkend="language.types.type-system.composite.union">type d'union</link>.
|
|
Disponible à partir de PHP 7.1.0.
|
|
</para>
|
|
|
|
<note>
|
|
<simpara>
|
|
Même si une fonction a un type de retour <type>void</type>, elle
|
|
retournera toujours une valeur, cette valeur est toujours &null;.
|
|
</simpara>
|
|
</note>
|
|
|
|
</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
|
|
-->
|