Re: Re: PEAR_ErrorStack Quality

From: Date: Mon, 05 Jul 2004 13:52:54 +0000
Subject: Re: Re: PEAR_ErrorStack Quality
References: 1 2 3 4  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-1615@lists.php.net to get a copy of this message
> It would be nice to name it Error.php, but then you can't have it at the > root of PEAR because so many people already use that filename in their > projects, including you ;-) So "include_once 'Error.php';" would be a > huge headache. Ah, I'd never think of that... I know my PEAR include_path comes last, but this may not be the case for other people. However, we do have names like "DB.php", that is also pretty common. I think you could probably get away with it. > You can't put it under PEAR/Error.php either, obviously because of > PEAR_Error. > > IMHO, ErrorStack alone would work... "include_once 'ErrorStack.php';" Yeh, not a bad suggestion... I just worry that a more specific name would limit the directions the author could take in the future. > I don't think any PEAR core component requires to be named after PEAR... > just like System.php. Yeh!

« previous php.pear.qa (#1615) next »