[thelist] catching "Division by Zero" in PHP

jon steele jjsteele22 at yahoo.com
Wed Nov 14 18:53:51 CST 2001


I'm doing some math with php, and I want to detect when a division by
zero warning occurs, and stop the program outputting a message. Because
php carries on ignoring the division by zero which cannot be done, the
result is incorrect. I hope to do this independently on the page, not
making changes to php.ini.

I'd appreciate any comments or insight.


Do You Yahoo!?
Find the one for you at Yahoo! Personals

More information about the thelist mailing list