Re: PEAR_Error

From: Date: Sun, 23 Jul 2000 17:08:20 +0000
Subject: Re: PEAR_Error
References: 1  Groups: php.pear 
Request: Send a blank email to php-pear+get-152@lists.php.net to get a copy of this message
I agree, sub-classes that need them can have them defined, but they shouldn't be defined in the parent class (yet). -Sterling > Guys, > > I'm wondering if there is any point in having the $file and $line > parameters to PEAR_Error if they have to be set manually. If using the > defaults, all you'll get is the file and line PEAR_Error is defined in. > At the least, the defaults should be empty, but I think we should have > some function to examine the call stack instead of trying to hack around > it like this. So I propose that we simply drop these parameters until > we can get the current file and line number transparently. > > - Stig > > -- > PHP Extension and Add-on Repository (PEAR) mailing list. > Documentation can be found at http://pear.php.net/doc/pear.html > To unsubscribe, e-mail: php-pear-unsubscribe@lists.php.net from the > mail address you subscribed with. >

« previous php.pear (#152) next »