note 11875 deleted from features.error-handling.php by ronabop
| From: | ronabop@php.net | Date: | Sun, 29 Jul 2001 04:03:57 +0000 |
| Subject: | note 11875 deleted from features.error-handling.php by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16011@lists.php.net to get a copy of this message | ||
Additional note for previous my note.
If you really get tired with NOTICE messages with variables that are not sent from browsers.
Although, it is not recommended, but you can use @ to get rid of NOTICE messages like
if (@($HTTP_GET_VARS['item'] === 'val')) {
// do something useful
}
instead of
if (isset($HTTP_GET_VARS['item']) && $HTTP_GET_VARS['item'] ===
'val') {
// do something useful
}