Re: E_NOTICE

From: Date: Thu, 10 Jan 2002 15:31:56 +0000
Subject: Re: E_NOTICE
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-76497@lists.php.net to get a copy of this message
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)

« previous php.dev (#76497) next »