ID: 28858 Updated by: [EMAIL PROTECTED] Reported By: antin dot roskat at zarecons dot net -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2004-06-20 22:06:41] antin dot roskat at zarecons dot net Description: ------------ At least imagepng, imagejpeg and imagegif have a documented return value of int. The correct return value should be boolean. Using gettype on the return value returns "boolean". Reproduce code: --------------- $im = imagecreatetruecolor(100,100); echo gettype(imagejpeg($im)); Expected result: ---------------- I'm expecting to see "integer" echoed (according to the manual). Actual result: -------------- Instead I'm seeing "boolean" echoed. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28858&edit=1
