Hello internals,

  If anyone has a moment to answer this, it'd be appreciated...

  --
  isset($x);  => false
  is_null($x) => Notice: undefined variable $x

  --
  $x = null;
  isset($x);  => false
  is_null($x) => true

  The question is *why* does isset() report false on a variable that
  is set to NULL?  Is there any way to tell if a variable isset and
  is_null without generating an error?

  It doesn't seem that this behavior is consistent with the meaning of
  isset(), or the errors that are generated when a variable is not set.

  
  Thanks.
  
-- 
Best regards,
 Jason Garber                      mailto:[EMAIL PROTECTED]
 IonZoft, Inc.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to