Re: pear packages and error levels

From: Date: Fri, 03 Oct 2003 11:46:08 +0000
Subject: Re: pear packages and error levels
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-22352@lists.php.net to get a copy of this message
On 3 Oct 2003 at 12:37, Hans Westerbeek wrote: > In a project I am working on I have set error reporting such that > E_NOTICES are also reported. > > This has resulted in the fact that I find a lot of lines in my > noticelog such as: > > * NOTICE: Undefined index: __HTTP_Session_Localname<br />file: > /usr/local/lib/php/HTTP/Session.php<br />line: 545 * NOTICE: Undefined > index: debug<br />file: /usr/local/lib/php/DB/DataObject.php<br > />line: 213 > > I could make this list a lot longer :-) > > Anyway I think that it is probably best if package developers set > their error reporting level to report notices as well. > > In the near future I will start offering patches to lead developers of > the packages that I use that are throwying these notices. Enabling notice-messages during development has been proposed several times and yeah, you're right. I guess such patches would gratefully be accepted by the majority. But please try to use the current CVS- version for your work if possible. Stefan

« previous php.pear.dev (#22352) next »