Page 1 of 1

should i set my error reporting to not display notices???

Posted: Thu Mar 16, 2006 3:14 am
by monloi
im just really bothered guys if its ok to ignore notices or undefined variables...coz if its ok then ill set my php.ini to hide notices
but if it is not?why?what can it do to my website???

Posted: Thu Mar 16, 2006 3:28 am
by jayshields
It's just preference. I choose E_ALL when developing and usually don't turn it off when it's live because I'm confident the end-user wont see any notices :P

Posted: Thu Mar 16, 2006 5:52 am
by shiznatix
Use E_ALL while developing. It will help you find errors and do debugging. You should keep it on for the most part too because its good practice to code properly not just code in a alright way.