On Sun Oct 16 06:59 PM, Stas Malyshev wrote: > It definitely makes PHP worse by propagating inconsistent APIs.
I created a patch against 5.4: https://bugs.php.net/patch-display.php?bug_id=55475&patch=is_a_5.4_alternati ve&revision=latest The patch changes the behavior to: is_a("ab", "b") // false is_a("ab", "b", true) // autoload "ab", autoload "b" -- false is_subclass_of("ab", "b") // false is_subclass_of("ab", "b", true) // autoload "ab", autoload "b" -- false Both class names can be "autoloaded" but not by default Thoughts? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php