Re: E_NOTICE
On 2002-10-01 07:49, derick@php.net wrote:
> On Thu, 10 Jan 2002, Zak Greant wrote:
> > On 2002-10-01 07:38, Derick Rethans wrote:
> > > Hello,
> > >
> > > can somebody clarify why a E_NOTICE prints 'Warning' and
> > > E_USER_NOTICE prints 'Notice'. IMO it is more clear to print
> > > 'Notice'
> > > in both cases.
> >
> > It probably has something to do with maintaining backwards
> > compatibility. Could we set a php.ini flag to control this behavior? ;>
> >
> :) Anyway, it doesn't make sense to me. IMO it should just show 'Notice'
> for both cases.
Agreed. Having anything else is just confusing.
--zak
Thread (7 messages)