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

Reply via email to