Re: isset(), undefined variables, and null



arundelo@xxxxxxxxxxx wrote:
Is there a way to tell whether accessing a variable will
result in an "Undefined variable" E_NOTICE? isset() almost
does this, but it also returns false if a variable is set to
null:


You could use is_null().
--
Andrew Hutchings - LinuxJedi - http://www.linuxjedi.co.uk/
Windows is the path to the darkside...Windows leads to Blue Screen. Blue Screen leads to downtime. Downtime leads to suffering...I sense much Windows in you...
.



Relevant Pages

  • Re: Off-Topic
    ... > Bluescreen leads to downtime. ... > Downtime leads to suffering. ... > Powerful Unix is. ... > The No. 1 remote administration tool for Windows NT is a car. ...
    (freebsd-questions)
  • Re: Mail problem
    ... If you are running from your home IP address then there won't be much you can do to stop this as most ISPs block home IP addresses from sending mail. ... The -f flag assumes the server isn't running Windows, if it is remove that parameter from the command. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (alt.php)
  • Re: Off-Topic
    ... Bluescreen leads to downtime. ... Downtime leads to suffering. ... Powerful Unix is. ... The No. 1 remote administration tool for Windows NT is a car. ...
    (freebsd-questions)
  • Re: Newbie
    ... And pay special attention to the notes about register_globals. ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (comp.lang.php)
  • Re: Array_merge() Question
    ... recordID \t the rest of the data ... ... Windows is the path to the darkside...Windows leads to Blue Screen. ... Downtime leads to suffering...I sense much Windows in you... ...
    (comp.lang.php)