Re: Re: MDB2 beta1 problem
| From: | Greg Beaver | Date: | Tue, 27 Apr 2004 02:58:25 +0000 |
| Subject: | Re: Re: MDB2 beta1 problem | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12145@lists.php.net to get a copy of this message | ||
Lukas Smith wrote:
yeah 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. Greg