Anybody know any error supressors for Divison By Zero?
Thanks, Im a noob when it comes to this...
Error suppresors?
Moderator: General Moderators
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: Error suppresors?
What?
Why would you want to suppress a division by zero error? You could hide warnings using error_reporting(), but you should just check you're not passing a 0 into a division operator before you do it.
Why would you want to suppress a division by zero error? You could hide warnings using error_reporting(), but you should just check you're not passing a 0 into a division operator before you do it.
Re: Error suppresors?
Its not for me its a script im working on for my new webhosting company, it automaticly adds on to any PHP page and hides errors as part of a premium plan.
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
Re: Error suppresors?
I don't know what you mean. There's no reason not to check you're not passing zeros into division operations.
Re: Error suppresors?
What I mean is so I get custom error messages like 000webhost.com they add a small link under the PHP error message, I cant find this in my systems apache folder.