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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Fri Dec 04 02:01:23 2020 UTC