note 82252 deleted from language.operators.errorcontrol by tularis
| From: | tularis@php.net | Date: | Tue, 12 Aug 2008 16:36:46 +0000 |
| Subject: | note 82252 deleted from language.operators.errorcontrol by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143404@lists.php.net to get a copy of this message | ||
Note Submitter: lewis [@t] hcoms [dot] co [dot] uk
----
@John Chilton
"I happen to use it with variables all the time, and have also noticed the (IMHO) odd result
when trying to stifle errors when asking isset() about a nonexistent variable. However, it does make
more sense to use @isset($foo) than isset(@$foo) to me anyway..."
Using the @ symbol with isset() is useless. This is because isset() will not return an error if the
variable is not existent (otherwise it would be pretty useless).