Hi!

If all other functions return NULL with wrong args, why should get_class
return false? Is there any value in it besides the fact that docs say so?

The main reason is the documentation. It introduces a useless BC break
which was reported in #47664.

Well, sometimes a bug is a bug and we can't keep BC just for bugs, unless it is useful for something.
--
Stanislav Malyshev, Zend Software Architect
s...@zend.com   http://www.zend.com/
(408)253-8829   MSN: s...@zend.com

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

Reply via email to