|  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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
40 - 22 = ?
Subscribe to this entry?

 [2011-03-08 16:24 UTC] radek at tme3c dot com
From manual page: Values

No information about (bool) FALSE returned when sth will fail.

php > var_dump( @imagecolorat(false, 1, 1) );


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-03-22 10:25 UTC]
-Status: Open +Status: Bogus
 [2011-03-22 10:25 UTC]
This returns NULL in PHP 5.3, as is the norm for internal functions
when an invalid parameter is given.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Jun 24 07:01:25 2021 UTC