Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions language/types/void.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 7132d8833a86604aa2d10c16c0470d0ef1a0fdfb Maintainer: lacatoire Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: fff1bba97cc9c9f86f7e49e4074e1e5792df77be Maintainer: lacatoire Status: ready -->
<sect1 xml:id="language.types.void">
<title>Void</title>

Expand All @@ -11,6 +10,15 @@
<link linkend="language.types.type-system.composite.union">type d'union</link>.
Disponible à partir de PHP 7.1.0.
</para>
<simpara>
Une instruction <literal>return</literal> accompagnée d'une expression dans
une fonction <type>void</type> est une erreur de compilation, même si ce
<literal>return</literal> ne serait pas atteint lors de l'exécution.
Cela inclut <literal>return null;</literal> : utiliser un simple
<literal>return;</literal> pour quitter la fonction prématurément.
La valeur &null; mentionnée ci-dessous n'est que la valeur implicite
de l'appel.
</simpara>

<note>
<simpara>
Expand Down
5 changes: 2 additions & 3 deletions reference/image/functions/imagegd.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 55f2d0cda1972031881f6e3464946144dfb900a2 Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: 0e7d85e03499b1472087d5243d49340744794e5c Maintainer: yannick Status: ready -->
<refentry xml:id="function.imagegd" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagegd</refname>
Expand Down Expand Up @@ -104,7 +103,7 @@ $text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "Un texte simple", $text_color);

// Sauvegarde de l'image GD
// Le format de fichier pour les images GD est .gd, voir http://www.libgd.org/GdFileFormats
// Le format de fichier pour les images GD est .gd, voir https://libgd.github.io/manuals/2.3.3/files/gd_gd-c.html
imagegd($im, 'simple.gd');
?>
]]>
Expand Down
5 changes: 2 additions & 3 deletions reference/image/functions/imagegd2.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 2a3e48b0edb8daeebb6479ade819c397759c74be Maintainer: yannick Status: ready -->
<!-- Reviewed: yes -->
<!-- EN-Revision: 0e7d85e03499b1472087d5243d49340744794e5c Maintainer: yannick Status: ready -->
<refentry xml:id="function.imagegd2" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>imagegd2</refname>
Expand Down Expand Up @@ -117,7 +116,7 @@ $text_color = imagecolorallocate($im, 233, 14, 91);
imagestring($im, 1, 5, 5, "Un texte simple", $text_color);

// Sauvegarde de l'image GD2
// Le format de fichier pour les images GD2 est .gd2, voir http://www.libgd.org/GdFileFormats
// Le format de fichier pour les images GD2 est .gd2, voir https://libgd.github.io/manuals/2.3.3/files/gd_gd-c.html
imagegd2($im, 'simple.gd2');

?>
Expand Down
5 changes: 2 additions & 3 deletions reference/image/functions/imagegrabwindow.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 9960a09a5705102bf4dd0ce63e03d9ec716d0015 Maintainer: yannick Status: ready -->
<!-- Reviewed: no -->
<!-- EN-Revision: 0e7d85e03499b1472087d5243d49340744794e5c Maintainer: yannick Status: ready -->

<refentry xml:id="function.imagegrabwindow" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
Expand Down Expand Up @@ -126,7 +125,7 @@ imagepng($im, "iesnap.png");
$browser = new COM("InternetExplorer.Application");
$handle = $browser->HWND;
$browser->Visible = true;
$browser->Navigate("http://www.libgd.org");
$browser->Navigate("https://libgd.github.io");

/* Fonctionne toujours ? */
while ($browser->Busy) {
Expand Down
Loading