Re: Re: cvs: ZendEngine2 / zend_builtin_functions.c /tests 009.phpt php-src/ext/reflection/tests 027.phpt php-src/ext/standard/tests/class_object
get_class_error_001.phpt get_class_variation_001.phpt
| From: | Stanislav Malyshev | Date: | Mon, 16 Mar 2009 17:43:31 +0000 |
| Subject: | Re: Re: cvs: ZendEngine2 / zend_builtin_functions.c /tests 009.phpt php-src/ext/reflection/tests 027.phpt php-src/ext/standard/tests/class_object get_class_error_001.phpt get_class_variation_001.phpt |
||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43367@lists.php.net to get a copy of this message | ||
Hi!
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 stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.comIf 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.