Hello,
I have attached a patch to the following bug, but I believe the bug is
incorrect...
If is_subclass_of() is used in conjunction with a interface it should always
return false because it's not a class, it's an interface.
Test:
--
interface MyInterface {
const TEST_CONSTANT = true;
Wouldn't it be better to join forces with the SplClassLoader proposal[1]?
A C implementation of PSR-0 has been prpoposed [2] as well, and would be
nice to get something like that into 5.next
However for your imminent performance needs, you should be aware that an
hash map based autoloaders can be
Hello again,Has anyone had a chance to look at my patch?Forgive me for being quite eager to get this into trunk, as it will improve the performance of all PHP Frameworks which currently implement their own autoloader method due to the oddities of the SPL autoloader.
spl_autoload_case_sensitive.pa
On Tue, 14 Dec 2010, Boris Lytochkin wrote:
> Mantain ext/snmp extension: src & docs
You've karma. Use it wisely :-)
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug
--
PHP Internals - PHP Runti