php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #47200 Suggestion for Return Values description for isset()
Submitted: 2009-01-23 14:37 UTC Modified: 2009-11-20 10:27 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: hek at theeks dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
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: hek at theeks dot net
New email:
PHP Version: OS:

 

 [2009-01-23 14:37 UTC] hek at theeks dot net
Description:
------------
The documentation for isset() currently describes the Return Values as:

"Returns TRUE if var exists; FALSE otherwise."

I would propose that it be changed to:

"Returns TRUE if var exists and has a non-NULL value; FALSE otherwise."


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-01-23 17:25 UTC] salsi at icosaedro dot it
That's the same issue already stated by bug #47032, although your suggestion may be of more practical use for people that maintain the doc. The two bug should then be merged in some way.
 [2009-01-23 17:37 UTC] hek at theeks dot net
See also: http://bugs.php.net/bug.php?id=19080
 [2009-11-20 10:27 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=291056
Log: Returns FALSE for NULL (bug #47200)
 [2009-11-20 10:27 UTC] vrana@php.net
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.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 16:00:01 2026 UTC