ID:               13577
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: Win2K & Debian Linux
 PHP Version:      4.0.6
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2001-10-07 09:57:05] [EMAIL PROTECTED]

An uninitialized variable equals NULL. So it _is_ null.

This should be in the language.types.null section.

------------------------------------------------------------------------

[2001-10-07 07:10:43] [EMAIL PROTECTED]

If it's intended, then it should be documented.
Reopened as a documentation problem.

------------------------------------------------------------------------

[2001-10-06 20:29:59] [EMAIL PROTECTED]

Intented behaviour. Not a bug.


------------------------------------------------------------------------

[2001-10-06 15:41:15] [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

Reply via email to