Let's try and close this one.

https://bugs.php.net/bug.php?id=55475

I've just added a patch that adds is_class_of(), which is identical to is_subclass_of, and has the new feature of supporting strings and using the autoloader.

It then reverts is_a() back to the previous behavior, and clarifies the documentation.

This solves the BC issues, and also solves potential security issues with existing code accidentally passing $url's to the autoloader, and gives anyone who needs this new behavior a solution.

Let's at least try and respect the new release RFC, and our users who appreciate PHP's efforts over the years to try and maintain BC. (it's one of it's few advantages these days...)

Regards
Alan

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

Reply via email to