php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54196 No information about returned FALSE value.
Submitted: 2011-03-08 16:24 UTC Modified: 2011-03-22 10:25 UTC
From: radek at tme3c dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: radek at tme3c dot com
New email:
PHP Version: OS:

 

 [2011-03-08 16:24 UTC] 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)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-22 10:25 UTC] aharvey@php.net
-Status: Open +Status: Bogus
 [2011-03-22 10:25 UTC] aharvey@php.net
This returns NULL in PHP 5.3, as is the norm for internal functions
when an invalid parameter is given.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 17:01:34 2025 UTC