note 31540 deleted from language.operators.errorcontrol by tularis

From: Date: Tue, 12 Aug 2008 16:38:38 +0000
Subject: note 31540 deleted from language.operators.errorcontrol by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-143413@lists.php.net to get a copy of this message
Note Submitter: ---- It should be noted that suppressed error reporting is inherited, so to speak. Consider this function: function warning() { $return = 10 / 0; return $return; } This line will produce a warning; var_dump(warning()); While these will not: var_dump(@warning()); @var_dump(warning()); This might not be so obvious for some people; I know I didn't expect this behaviour.

« previous php.notes (#143413) next »