Re: Proposal: Services_ExchangeRates

From: Date: Fri, 29 Aug 2003 04:24:15 +0000
Subject: Re: Proposal: Services_ExchangeRates
References: 1 2 3 4  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20797@lists.php.net to get a copy of this message
Marshall Roch wrote:
$classname won't exist until after you include the file, so it has to be the other way around. I supressed the PHP warning (the dreaded @include_once()) and added a PEAR error.
That's the point - allow the user to include the file BEFORE instantiating the class, and they can have a custom one. Don't use @ - if there is a bug in the included file, we see a blank screen. Blank screen bad. :) I'll check out the package tomorrow. Greg

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