Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 10:32 +0100, Richard Heyes wrote: > >> Then you're both mad. Users really shouldn't see any error regardless, > >> so error reporting IMO should be off entirely. A blank screen that you > >> can blame on a variety of things is far preferable to users knowing > >> that your web

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Robert Cummings
On Sat, 2008-08-02 at 09:15 +0100, Richard Heyes wrote: > > Personally, and I know I'm not alone here... I keep E_NOTICE enabled > > Then you're both mad. Users really shouldn't see any error regardless, > so error reporting IMO should be off entirely. A blank screen that you > can blame on a var

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Richard Heyes
>> Then you're both mad. Users really shouldn't see any error regardless, >> so error reporting IMO should be off entirely. A blank screen that you >> can blame on a variety of things is far preferable to users knowing >> that your website is broken. In production I keep error_reporting set >> to 0

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread mike
On 8/2/08, Richard Heyes <[EMAIL PROTECTED]> wrote: > > Personally, and I know I'm not alone here... I keep E_NOTICE enabled > > Then you're both mad. Users really shouldn't see any error regardless, > so error reporting IMO should be off entirely. A blank screen that you > can blame on a variety

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-02 Thread Richard Heyes
> Personally, and I know I'm not alone here... I keep E_NOTICE enabled Then you're both mad. Users really shouldn't see any error regardless, so error reporting IMO should be off entirely. A blank screen that you can blame on a variety of things is far preferable to users knowing that your websit

Re: [PHP] Exposing PHP/errors on production vs. dev

2008-08-01 Thread Robert Cummings
On Fri, 2008-08-01 at 17:30 -0700, mike wrote: > Does this look right? > > Obviously you still want to know about production errors, so I'd like > to log them. > > Development I want to see -everything- and I want it to display on the > page. The assumption is production won't have any notices as

[PHP] Exposing PHP/errors on production vs. dev

2008-08-01 Thread mike
Does this look right? Obviously you still want to know about production errors, so I'd like to log them. Development I want to see -everything- and I want it to display on the page. The assumption is production won't have any notices as the code should be clean and our higher priority are fixing