note 11875 added to features.error-handling.php

From: Date: Sun, 11 Mar 2001 09:48:34 +0000
Subject: note 11875 added to features.error-handling.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-12265@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 } http://www.php.net/manual/en/features.error-handling.php

« previous php.notes (#12265) next »