Hi!

Log:
  Fixed bug #47664 (get_class returns NULL instead of FALSE)
[...]
@@ -716,7 +716,7 @@
        int dup;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|o",
&obj) == FAILURE) {
-               return;
+               RETURN_FALSE;
        }

Usually we return NULL in case parameter parsing fails, this is
documented like this:

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?
--
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