Re: Re: alternative to the fopen() hack in autoloaders
| From: | Richard Quadling | Date: | Wed, 11 Nov 2009 09:47:02 +0000 |
| Subject: | Re: Re: alternative to the fopen() hack in autoloaders | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-46022@lists.php.net to get a copy of this message | ||
2009/11/11 Lukas Kahwe Smith <mls@pooteeweet.org>:
> [snip]
Would using a userland-based set_error_handler() be of use here?
If, under normal circumstances, blind include() is what is used, then
trapping the error when it fails would be when you could test for
whatever it is you want to test for?
Richard.
--
-----
Richard Quadling
"Standing on the shoulders of some very clever giants!"
EE : http://www.experts-exchange.com/M_248814.html
Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
ZOPA : http://uk.zopa.com/member/RQuadling