note 82252 added to language.operators.errorcontrol
| From: | lewis | Date: | Wed, 02 Apr 2008 19:38:38 +0000 |
| Subject: | note 82252 added to language.operators.errorcontrol | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-137867@lists.php.net to get a copy of this message | ||
@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).
----
Server IP: 92.48.74.199
Probable Submitter: 81.140.40.33
----
Manual Page -- http://www.php.net/manual/en/language.operators.errorcontrol.php
Edit -- https://master.php.net/note/edit/82252
Del: integrated -- https://master.php.net/note/delete/82252/integrated
Del: useless -- https://master.php.net/note/delete/82252/useless
Del: bad code -- https://master.php.net/note/delete/82252/bad+code
Del: spam -- https://master.php.net/note/delete/82252/spam
Del: non-english -- https://master.php.net/note/delete/82252/non-english
Del: in docs -- https://master.php.net/note/delete/82252/in+docs
Del: other reasons-- https://master.php.net/note/delete/82252
Reject -- https://master.php.net/note/reject/82252
Search -- https://master.php.net/manage/user-notes.php