Can Fatal error be removed using error reporting(0)???

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
indian98476
Forum Commoner
Posts: 78
Joined: Tue Dec 15, 2009 3:24 am

Can Fatal error be removed using error reporting(0)???

Post by indian98476 »

i got a fatal error msg....can this be bypassed by using error reporting(0);?
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: Can Fatal error be removed using error reporting(0)???

Post by Eran »

No. fix the error
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Can Fatal error be removed using error reporting(0)???

Post by pickle »

error_reporting() doesn't stop errors from happening, it just stops them from being reported.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply