Hi,

[quote from off-list:]
> I am in way over my head and would not do a good job
> fixing these (or have the time), care to take a crack at it?

Ok, I'll do that tomorrow morning.

> I wonder if the problem is that
> spl_autoload_register should not just be checking to see if zcallable is
> IS_OBJECT, but also if it is an instance of Closure.  That should clear
> up the examples below (spl_autoload_register($blah) where $blah is not a
> closure should not work).

No, actually it should definitely work, since $blah () works when the
class defined __invoke and objects of this class are thus callable.

Regards,
Christian

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to