Date: 10/07/01
- Next message: mj <email protected>: "[PHP-DOC] Bug #12638 Updated: File http://www.php.net:8000/distributions/manual_de.chm OK?"
- Previous message: mj <email protected>: "[PHP-DOC] Bug #12734 Updated: more options for date()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 13577
Updated by: jeroen
Reported By: sander <email protected>
Status: Open
Bug Type: Documentation problem
Operating System: Win2K & Debian Linux
PHP Version: 4.0.6
New Comment:
An uninitialized variable equals NULL. So it _is_ null.
This should be in the language.types.null section.
Previous Comments:
------------------------------------------------------------------------
[2001-10-07 07:10:43] sander <email protected>
If it's intended, then it should be documented.
Reopened as a documentation problem.
------------------------------------------------------------------------
[2001-10-06 20:29:59] sniper <email protected>
Intented behaviour. Not a bug.
------------------------------------------------------------------------
[2001-10-06 15:41:15] sander <email protected>
is_null() evaluates true for non-existent variables. Consider the following snippet:
unset($foo);
if(is_null($foo))
echo 'true';
else
echo 'false';
It outputs 'true'.
Can this be fixed before 4.0.7?
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13577&edit=1
- Next message: mj <email protected>: "[PHP-DOC] Bug #12638 Updated: File http://www.php.net:8000/distributions/manual_de.chm OK?"
- Previous message: mj <email protected>: "[PHP-DOC] Bug #12734 Updated: more options for date()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

