Doc #54196 [Opn->Bgs]: No information about returned FALSE value.

From: Date: Tue, 22 Mar 2011 09:25:49 +0000
Subject: Doc #54196 [Opn->Bgs]: No information about returned FALSE value.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6123@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54196&edit=1 ID: 54196 Updated by: aharvey@php.net Reported by: radek at tme3c dot com Summary: No information about returned FALSE value. -Status: Open +Status: Bogus Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: This returns NULL in PHP 5.3, as is the norm for internal functions when an invalid parameter is given. Previous Comments: ------------------------------------------------------------------------ [2011-03-08 16:24:11] radek at tme3c dot com Description: ------------ --- From manual page: http://www.php.net/function.imagecolorat#Return Values --- No information about (bool) FALSE returned when sth will fail. php > var_dump( @imagecolorat(false, 1, 1) ); bool(false) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54196&edit=1

« previous php.doc.bugs (#6123) next »