[doc-en] master: Sync return type changes (#5075)

From: Date: Sun, 08 Mar 2026 20:03:58 +0000
Subject: [doc-en] master: Sync return type changes (#5075)
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-23186@lists.php.net to get a copy of this message
Author: Máté Kocsis (kocsismate) Committer: GitHub (web-flow) Pusher: kocsismate Date: 2026-03-08T21:03:56+01:00 Commit: https://github.com/php/doc-en/commit/fcd9214294f88b05862a538c6dd94c7872420139 Raw diff: https://github.com/php/doc-en/commit/fcd9214294f88b05862a538c6dd94c7872420139.diff Sync return type changes (#5075) Changed paths: M reference/fileinfo/functions/finfo-close.xml M reference/ftp/functions/ftp-set-option.xml M reference/image/functions/imagealphablending.xml M reference/image/functions/imageantialias.xml M reference/image/functions/imagearc.xml M reference/image/functions/imagechar.xml M reference/image/functions/imagecharup.xml M reference/image/functions/imagecolordeallocate.xml M reference/image/functions/imagecolormatch.xml M reference/image/functions/imagecopy.xml M reference/image/functions/imagecopymerge.xml M reference/image/functions/imagecopymergegray.xml M reference/image/functions/imagecopyresampled.xml M reference/image/functions/imagecopyresized.xml M reference/image/functions/imagedashedline.xml M reference/image/functions/imagedestroy.xml M reference/image/functions/imageellipse.xml M reference/image/functions/imagefill.xml M reference/image/functions/imagefilledarc.xml M reference/image/functions/imagefilledellipse.xml M reference/image/functions/imagefilledrectangle.xml M reference/image/functions/imagefilltoborder.xml M reference/image/functions/imageflip.xml M reference/image/functions/imagegammacorrect.xml M reference/image/functions/imagelayereffect.xml M reference/image/functions/imageline.xml M reference/image/functions/imagerectangle.xml M reference/image/functions/imageresolution.xml M reference/image/functions/imagesavealpha.xml M reference/image/functions/imagesetbrush.xml M reference/image/functions/imagesetclip.xml M reference/image/functions/imagesetpixel.xml M reference/image/functions/imagesetthickness.xml M reference/image/functions/imagesettile.xml M reference/image/functions/imagestring.xml M reference/image/functions/imagestringup.xml M reference/pcntl/functions/pcntl-exec.xml Diff: diff --git a/reference/fileinfo/functions/finfo-close.xml b/reference/fileinfo/functions/finfo-close.xml index 3a9ee23f3fa1..13fffa61781c 100644 --- a/reference/fileinfo/functions/finfo-close.xml +++ b/reference/fileinfo/functions/finfo-close.xml @@ -18,7 +18,9 @@ </methodsynopsis> <simpara> - This function closes the instance opened by <function>finfo_open</function>. + This function used to close the instance opened by <function>finfo_open</function> until PHP 7.4, + but it's a no-op since the <classname>finfo</classname> resource to object conversion done in PHP 8.0, + and has been deprecated in PHP 8.5. </simpara> </refsect1> diff --git a/reference/ftp/functions/ftp-set-option.xml b/reference/ftp/functions/ftp-set-option.xml index 02086da15cb1..7678a52f52b4 100644 --- a/reference/ftp/functions/ftp-set-option.xml +++ b/reference/ftp/functions/ftp-set-option.xml @@ -78,6 +78,7 @@ </variablelist> </para> </refsect1> + <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> @@ -85,6 +86,15 @@ </para> </refsect1> + <refsect1 role="errors"> + &reftitle.errors; + <para> + A <exceptionname>ValueError</exceptionname> is thrown if the <parameter>option</parameter> + is not supported. A <exceptionname>TypeError</exceptionname> is thrown if the passed + <parameter>value</parameter> doesn't match the expected type for the given <parameter>option</parameter>. + </para> + </refsect1> + <refsect1 role="changelog"> &reftitle.changelog; <informaltable> diff --git a/reference/image/functions/imagealphablending.xml b/reference/image/functions/imagealphablending.xml index 2cf7c7d33ecc..7a88006ce982 100644 --- a/reference/image/functions/imagealphablending.xml +++ b/reference/image/functions/imagealphablending.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagealphablending</methodname> + <type>true</type><methodname>imagealphablending</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>bool</type><parameter>enable</parameter></methodparam> </methodsynopsis> @@ -45,7 +45,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imageantialias.xml b/reference/image/functions/imageantialias.xml index 7c5e76370d25..084aba63c7ba 100644 --- a/reference/image/functions/imageantialias.xml +++ b/reference/image/functions/imageantialias.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imageantialias</methodname> + <type>true</type><methodname>imageantialias</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>bool</type><parameter>enable</parameter></methodparam> </methodsynopsis> @@ -46,7 +46,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagearc.xml b/reference/image/functions/imagearc.xml index 5073541a63c9..0c750f1ff93a 100644 --- a/reference/image/functions/imagearc.xml +++ b/reference/image/functions/imagearc.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagearc</methodname> + <type>true</type><methodname>imagearc</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>center_x</parameter></methodparam> <methodparam><type>int</type><parameter>center_y</parameter></methodparam> @@ -92,7 +92,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagechar.xml b/reference/image/functions/imagechar.xml index 22ab37dc2995..5ce453378654 100644 --- a/reference/image/functions/imagechar.xml +++ b/reference/image/functions/imagechar.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagechar</methodname> + <type>true</type><methodname>imagechar</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type class="union"><type>GdFont</type><type>int</type></type><parameter>font</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> @@ -68,7 +68,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecharup.xml b/reference/image/functions/imagecharup.xml index c5d8d7f8c3c1..c123addca449 100644 --- a/reference/image/functions/imagecharup.xml +++ b/reference/image/functions/imagecharup.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecharup</methodname> + <type>true</type><methodname>imagecharup</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type class="union"><type>GdFont</type><type>int</type></type><parameter>font</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> @@ -65,7 +65,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecolordeallocate.xml b/reference/image/functions/imagecolordeallocate.xml index c3879cf3af47..141c6349802c 100644 --- a/reference/image/functions/imagecolordeallocate.xml +++ b/reference/image/functions/imagecolordeallocate.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecolordeallocate</methodname> + <type>true</type><methodname>imagecolordeallocate</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>color</parameter></methodparam> </methodsynopsis> @@ -37,7 +37,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecolormatch.xml b/reference/image/functions/imagecolormatch.xml index 9bcedfe59b37..af04c18ec1cb 100644 --- a/reference/image/functions/imagecolormatch.xml +++ b/reference/image/functions/imagecolormatch.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecolormatch</methodname> + <type>true</type><methodname>imagecolormatch</methodname> <methodparam><type>GdImage</type><parameter>image1</parameter></methodparam> <methodparam><type>GdImage</type><parameter>image2</parameter></methodparam> </methodsynopsis> @@ -43,7 +43,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecopy.xml b/reference/image/functions/imagecopy.xml index c192dabf50d0..08f885453ee7 100644 --- a/reference/image/functions/imagecopy.xml +++ b/reference/image/functions/imagecopy.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecopy</methodname> + <type>true</type><methodname>imagecopy</methodname> <methodparam><type>GdImage</type><parameter>dst_image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>src_image</parameter></methodparam> <methodparam><type>int</type><parameter>dst_x</parameter></methodparam> @@ -94,7 +94,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecopymerge.xml b/reference/image/functions/imagecopymerge.xml index 6b5706b75e84..c144163901bd 100644 --- a/reference/image/functions/imagecopymerge.xml +++ b/reference/image/functions/imagecopymerge.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecopymerge</methodname> + <type>true</type><methodname>imagecopymerge</methodname> <methodparam><type>GdImage</type><parameter>dst_image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>src_image</parameter></methodparam> <methodparam><type>int</type><parameter>dst_x</parameter></methodparam> @@ -108,7 +108,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecopymergegray.xml b/reference/image/functions/imagecopymergegray.xml index ae000f401948..b8764eab1b7b 100644 --- a/reference/image/functions/imagecopymergegray.xml +++ b/reference/image/functions/imagecopymergegray.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecopymergegray</methodname> + <type>true</type><methodname>imagecopymergegray</methodname> <methodparam><type>GdImage</type><parameter>dst_image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>src_image</parameter></methodparam> <methodparam><type>int</type><parameter>dst_x</parameter></methodparam> @@ -113,7 +113,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecopyresampled.xml b/reference/image/functions/imagecopyresampled.xml index 413a525c8177..9606983ad9ea 100644 --- a/reference/image/functions/imagecopyresampled.xml +++ b/reference/image/functions/imagecopyresampled.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecopyresampled</methodname> + <type>true</type><methodname>imagecopyresampled</methodname> <methodparam><type>GdImage</type><parameter>dst_image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>src_image</parameter></methodparam> <methodparam><type>int</type><parameter>dst_x</parameter></methodparam> @@ -127,7 +127,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagecopyresized.xml b/reference/image/functions/imagecopyresized.xml index fd15885981b0..7318584b5a16 100644 --- a/reference/image/functions/imagecopyresized.xml +++ b/reference/image/functions/imagecopyresized.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagecopyresized</methodname> + <type>true</type><methodname>imagecopyresized</methodname> <methodparam><type>GdImage</type><parameter>dst_image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>src_image</parameter></methodparam> <methodparam><type>int</type><parameter>dst_x</parameter></methodparam> @@ -127,7 +127,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagedashedline.xml b/reference/image/functions/imagedashedline.xml index 14418dcc114e..1a684d30ecee 100644 --- a/reference/image/functions/imagedashedline.xml +++ b/reference/image/functions/imagedashedline.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagedashedline</methodname> + <type>true</type><methodname>imagedashedline</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x1</parameter></methodparam> <methodparam><type>int</type><parameter>y1</parameter></methodparam> @@ -73,7 +73,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagedestroy.xml b/reference/image/functions/imagedestroy.xml index 3e5b7d4d426f..cb99c5b7b0a5 100644 --- a/reference/image/functions/imagedestroy.xml +++ b/reference/image/functions/imagedestroy.xml @@ -12,7 +12,7 @@ &reftitle.description; <methodsynopsis> <modifier role="attribute">#[\Deprecated]</modifier> - <type>bool</type><methodname>imagedestroy</methodname> + <type>true</type><methodname>imagedestroy</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> </methodsynopsis> &note.resource-migration-8.0-dead-function; @@ -34,7 +34,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imageellipse.xml b/reference/image/functions/imageellipse.xml index 77d77b63afe5..0b3bd8506844 100644 --- a/reference/image/functions/imageellipse.xml +++ b/reference/image/functions/imageellipse.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imageellipse</methodname> + <type>true</type><methodname>imageellipse</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>center_x</parameter></methodparam> <methodparam><type>int</type><parameter>center_y</parameter></methodparam> @@ -71,7 +71,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagefill.xml b/reference/image/functions/imagefill.xml index 7c1f552725e3..555441094177 100644 --- a/reference/image/functions/imagefill.xml +++ b/reference/image/functions/imagefill.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagefill</methodname> + <type>true</type><methodname>imagefill</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> @@ -55,7 +55,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagefilledarc.xml b/reference/image/functions/imagefilledarc.xml index f1dfee63e5db..e95d6526c9b0 100644 --- a/reference/image/functions/imagefilledarc.xml +++ b/reference/image/functions/imagefilledarc.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagefilledarc</methodname> + <type>true</type><methodname>imagefilledarc</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>center_x</parameter></methodparam> <methodparam><type>int</type><parameter>center_y</parameter></methodparam> @@ -116,7 +116,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagefilledellipse.xml b/reference/image/functions/imagefilledellipse.xml index 6358620b1d43..b1cd9a1ac1d9 100644 --- a/reference/image/functions/imagefilledellipse.xml +++ b/reference/image/functions/imagefilledellipse.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagefilledellipse</methodname> + <type>true</type><methodname>imagefilledellipse</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>center_x</parameter></methodparam> <methodparam><type>int</type><parameter>center_y</parameter></methodparam> @@ -72,7 +72,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagefilledrectangle.xml b/reference/image/functions/imagefilledrectangle.xml index ec8e3afd2f27..59a059c86dbc 100644 --- a/reference/image/functions/imagefilledrectangle.xml +++ b/reference/image/functions/imagefilledrectangle.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagefilledrectangle</methodname> + <type>true</type><methodname>imagefilledrectangle</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x1</parameter></methodparam> <methodparam><type>int</type><parameter>y1</parameter></methodparam> @@ -73,7 +73,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagefilltoborder.xml b/reference/image/functions/imagefilltoborder.xml index d28b0017397f..df0018225a80 100644 --- a/reference/image/functions/imagefilltoborder.xml +++ b/reference/image/functions/imagefilltoborder.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagefilltoborder</methodname> + <type>true</type><methodname>imagefilltoborder</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> @@ -66,7 +66,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imageflip.xml b/reference/image/functions/imageflip.xml index 179e92c96230..72e7db4c1714 100644 --- a/reference/image/functions/imageflip.xml +++ b/reference/image/functions/imageflip.xml @@ -9,7 +9,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imageflip</methodname> + <type>true</type><methodname>imageflip</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>mode</parameter></methodparam> </methodsynopsis> @@ -71,7 +71,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagegammacorrect.xml b/reference/image/functions/imagegammacorrect.xml index 3f599409c5d0..5bc5c1653020 100644 --- a/reference/image/functions/imagegammacorrect.xml +++ b/reference/image/functions/imagegammacorrect.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagegammacorrect</methodname> + <type>true</type><methodname>imagegammacorrect</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>float</type><parameter>input_gamma</parameter></methodparam> <methodparam><type>float</type><parameter>output_gamma</parameter></methodparam> @@ -45,7 +45,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagelayereffect.xml b/reference/image/functions/imagelayereffect.xml index a14b909b1e27..cfeb31718174 100644 --- a/reference/image/functions/imagelayereffect.xml +++ b/reference/image/functions/imagelayereffect.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagelayereffect</methodname> + <type>true</type><methodname>imagelayereffect</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>effect</parameter></methodparam> </methodsynopsis> @@ -81,7 +81,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imageline.xml b/reference/image/functions/imageline.xml index 51603dd20c17..1fa483dafd6a 100644 --- a/reference/image/functions/imageline.xml +++ b/reference/image/functions/imageline.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imageline</methodname> + <type>true</type><methodname>imageline</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x1</parameter></methodparam> <methodparam><type>int</type><parameter>y1</parameter></methodparam> @@ -71,7 +71,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagerectangle.xml b/reference/image/functions/imagerectangle.xml index 85692b075668..12bc6cf8be21 100644 --- a/reference/image/functions/imagerectangle.xml +++ b/reference/image/functions/imagerectangle.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagerectangle</methodname> + <type>true</type><methodname>imagerectangle</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x1</parameter></methodparam> <methodparam><type>int</type><parameter>y1</parameter></methodparam> @@ -73,7 +73,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imageresolution.xml b/reference/image/functions/imageresolution.xml index 9ed6fcf86499..01c25be9a7de 100644 --- a/reference/image/functions/imageresolution.xml +++ b/reference/image/functions/imageresolution.xml @@ -9,7 +9,7 @@ <refsect1 role="description"><!-- {{{ --> &reftitle.description; <methodsynopsis> - <type class="union"><type>array</type><type>bool</type></type><methodname>imageresolution</methodname> + <type class="union"><type>array</type><type>true</type></type><methodname>imageresolution</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>resolution_x</parameter><initializer>&null;</initializer></methodparam> <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>resolution_y</parameter><initializer>&null;</initializer></methodparam> @@ -58,9 +58,8 @@ <para> When used as getter, it returns an indexed array of the horizontal and vertical resolution on - success, &return.falseforfailure;. - When used as setter, it returns - &true; on success, &return.falseforfailure;. + success. + When used as setter, it always returns &true;. </para> </refsect1><!-- }}} --> diff --git a/reference/image/functions/imagesavealpha.xml b/reference/image/functions/imagesavealpha.xml index 4a5a784a5ead..3dc32113f27c 100644 --- a/reference/image/functions/imagesavealpha.xml +++ b/reference/image/functions/imagesavealpha.xml @@ -9,7 +9,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesavealpha</methodname> + <type>true</type><methodname>imagesavealpha</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>bool</type><parameter>enable</parameter></methodparam> </methodsynopsis> @@ -56,7 +56,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagesetbrush.xml b/reference/image/functions/imagesetbrush.xml index 805388cfa42f..a64df9ece62b 100644 --- a/reference/image/functions/imagesetbrush.xml +++ b/reference/image/functions/imagesetbrush.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesetbrush</methodname> + <type>true</type><methodname>imagesetbrush</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>brush</parameter></methodparam> </methodsynopsis> @@ -48,7 +48,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagesetclip.xml b/reference/image/functions/imagesetclip.xml index 5f679ae1faf1..6c83200816ab 100644 --- a/reference/image/functions/imagesetclip.xml +++ b/reference/image/functions/imagesetclip.xml @@ -9,7 +9,7 @@ <refsect1 role="description"><!-- {{{ --> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesetclip</methodname> + <type>true</type><methodname>imagesetclip</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x1</parameter></methodparam> <methodparam><type>int</type><parameter>y1</parameter></methodparam> @@ -64,7 +64,7 @@ <refsect1 role="returnvalues"><!-- {{{ --> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1><!-- }}} --> diff --git a/reference/image/functions/imagesetpixel.xml b/reference/image/functions/imagesetpixel.xml index bb20ffd40a91..b2d43fb0c001 100644 --- a/reference/image/functions/imagesetpixel.xml +++ b/reference/image/functions/imagesetpixel.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesetpixel</methodname> + <type>true</type><methodname>imagesetpixel</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> @@ -54,7 +54,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagesetthickness.xml b/reference/image/functions/imagesetthickness.xml index b2e55fe14042..0ae74d3b7fd9 100644 --- a/reference/image/functions/imagesetthickness.xml +++ b/reference/image/functions/imagesetthickness.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesetthickness</methodname> + <type>true</type><methodname>imagesetthickness</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>int</type><parameter>thickness</parameter></methodparam> </methodsynopsis> @@ -37,7 +37,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagesettile.xml b/reference/image/functions/imagesettile.xml index 3e8852a294eb..e7405c4d01fe 100644 --- a/reference/image/functions/imagesettile.xml +++ b/reference/image/functions/imagesettile.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagesettile</methodname> + <type>true</type><methodname>imagesettile</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type>GdImage</type><parameter>tile</parameter></methodparam> </methodsynopsis> @@ -51,7 +51,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagestring.xml b/reference/image/functions/imagestring.xml index d7a4474b3ce0..730be979a1e0 100644 --- a/reference/image/functions/imagestring.xml +++ b/reference/image/functions/imagestring.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagestring</methodname> + <type>true</type><methodname>imagestring</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type class="union"><type>GdFont</type><type>int</type></type><parameter>font</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> @@ -64,7 +64,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/image/functions/imagestringup.xml b/reference/image/functions/imagestringup.xml index ad9d7eaea3b6..1fd335017928 100644 --- a/reference/image/functions/imagestringup.xml +++ b/reference/image/functions/imagestringup.xml @@ -8,7 +8,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>imagestringup</methodname> + <type>true</type><methodname>imagestringup</methodname> <methodparam><type>GdImage</type><parameter>image</parameter></methodparam> <methodparam><type class="union"><type>GdFont</type><type>int</type></type><parameter>font</parameter></methodparam> <methodparam><type>int</type><parameter>x</parameter></methodparam> @@ -65,7 +65,7 @@ <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> - &return.success; + &return.true.always; </para> </refsect1> diff --git a/reference/pcntl/functions/pcntl-exec.xml b/reference/pcntl/functions/pcntl-exec.xml index eee2a9efcef9..51086829f4e0 100644 --- a/reference/pcntl/functions/pcntl-exec.xml +++ b/reference/pcntl/functions/pcntl-exec.xml @@ -9,7 +9,7 @@ <refsect1 role="description"> &reftitle.description; <methodsynopsis> - <type>bool</type><methodname>pcntl_exec</methodname> + <type>false</type><methodname>pcntl_exec</methodname> <methodparam><type>string</type><parameter>path</parameter></methodparam> <methodparam choice="opt"><type>array</type><parameter>args</parameter><initializer>[]</initializer></methodparam> <methodparam choice="opt"><type>array</type><parameter>env_vars</parameter><initializer>[]</initializer></methodparam> @@ -48,7 +48,7 @@ <listitem> <para> <parameter>env_vars</parameter> is an array of strings which are passed as - environment to the program. The array is in the format of name => value, + environment to the program. The array is in the format of name =&gt; value, the key being the name of the environmental variable and the value being the value of that variable. </para>

« previous php.doc.cvs (#23186) next »