summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Zend/zend_builtin_functions.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index bdef8d319f..d77307a89a 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,6 @@ PHP NEWS
. Fixed bug #55509 (segfault on x86_64 using more than 2G memory). (Laruence)
. Fixed bug #55504 (Content-Type header is not parsed correctly on
HTTP POST request). (Hannes)
- . Fixed bug #55475 (is_a() triggers autoloader). (alan at akbkhome dot com)
. Fixed bug #52461 (Incomplete doctype and missing xmlns).
(virsacer at web dot de, Pierre)
. Fixed bug #55366: keys lost when using substr_replace an array. (Arpad)
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c
index 3a2430aeca..fc094a5e5f 100644
--- a/Zend/zend_builtin_functions.c
+++ b/Zend/zend_builtin_functions.c
@@ -822,7 +822,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass)
return;
}
- if (only_subclass && Z_TYPE_P(obj) == IS_STRING) {
+ 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) {
RETURN_FALSE;