suppressing division by zero errors

From: Date: Thu, 31 Jan 2002 23:00:06 +0000
Subject: suppressing division by zero errors
Groups: php.general 
Request: Send a blank email to php-general+get-83025@lists.php.net to get a copy of this message
Is there a way to suppress division by zero errors? echo 5/0; // this give a warning - obviously!! @echo 5/0; // this gives a parse error echo @5/0; // this still comes up with a warning unless I turn error_reporting off before and turn it back on afterwards, but I don't want to do that unless I REALLY have to Martin

« previous php.general (#83025) next »