#47200 [Opn->Csd]: Suggestion for Return Values description for isset()
ID: 47200
Updated by: vrana@php.net
Reported By: hek at theeks dot net
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: Irrelevant
PHP Version: Irrelevant
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2009-11-20 10:27:40] 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-01-23 17:37:27] hek at theeks dot net
See also: http://bugs.php.net/bug.php?id=19080
------------------------------------------------------------------------
[2009-01-23 17:25:40] 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 14:37:39] 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."
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=47200&edit=1
Thread (4 messages)