PEAR_Error
| From: | Stig Bakken | Date: | Sun, 23 Jul 2000 10:17:50 +0000 |
| Subject: | PEAR_Error | ||
| Groups: | php.pear | ||
| Request: | Send a blank email to php-pear+get-151@lists.php.net to get a copy of this message | ||
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