Re: Re: MDB2 beta1 problem
| From: | Lukas Smith | Date: | Tue, 27 Apr 2004 07:23:49 +0000 |
| Subject: | Re: Re: MDB2 beta1 problem | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12152@lists.php.net to get a copy of this message | ||
Greg Beaver wrote:
Lukas Smith wrote:yeah I should probably do this, as silencing errors in this way simply is ugly to me. regards, Lukas Smith smith@backendmedia.com _______________________________ BackendMedia www.backendmedia.com berlin@backendmedia.com Linn Zwoch Smith GbR Pariser Str. 44 D-10707 Berlin Tel +49 30 83 22 50 00 Fax +49 30 83 22 50 07yeah maybe that is a solution .. but actually this is still probably going to call error callbacks. so the only solution would be to write my own is_includeable in php .. nasty nastyI wrote this code for phpDocumentor, it's in PhpDocumentor/phpDocumentor/Io.php. 6 or 7 lines as Io::isIncludeable. I know you won't like the explode and loop of include_path, but the good news is that most include_paths are only 2 or three components. I suspect this won't be much slower, if at all, than the calling of custom error handlers, but haven't done benchmarking.