note 76279 deleted from language.operators.errorcontrol by tularis
| From: | tularis@php.net | Date: | Tue, 12 Aug 2008 16:36:59 +0000 |
| Subject: | note 76279 deleted from language.operators.errorcontrol by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-143406@lists.php.net to get a copy of this message | ||
Note Submitter: John Chilton
----
To omelnyk:
It also says:
A simple rule of thumb is: if you can take the value of something, you can prepend the @ operator to
it. For instance, you can prepend it to variables, function and include() calls....
"...you can prepend it to variables..."
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...