Hello. I have a question regarding using error_reporting(). I was under the assumption that it's best to use error_reporting(E_ALL) when you're developing your site, but to switch it to error_reporting(0) when your site goes live.
However, I was just reading an article (http://phpsec.org/projects/guide/1.html ), and it said that the preferred method is to use error_reporting(E_ALL) for both development and production, but to change display_errors from on to off when you go into production. Any thoughts on this? I'm curious as to what others use. Thanks!