From: Stanislav Malyshev Date: Tue, 12 Jul 2011 05:20:40 +0000 (+0000) Subject: remove warning for is_a() BC X-Git-Tag: php-5.5.0alpha1~1798 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35f19cb9692511ad6cb73a116a5e44d7d2e8ecc8;p=php remove warning for is_a() BC --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index b634e3de00..6f82776391 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -848,7 +848,6 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass) if (Z_TYPE_P(obj) == IS_STRING) { zend_class_entry **the_ce; if (zend_lookup_class(Z_STRVAL_P(obj), Z_STRLEN_P(obj), &the_ce TSRMLS_CC) == FAILURE) { - zend_error(E_WARNING, "Unknown class passed as parameter"); RETURN_FALSE; } instance_ce = *the_ce;