mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Revert per Andi's request. Sorry :-(
This commit is contained in:
parent
dcd4e0a2ec
commit
cb2124be7c
1 changed files with 1 additions and 1 deletions
|
@ -556,7 +556,7 @@ static void is_a_impl(INTERNAL_FUNCTION_PARAMETERS, zend_bool only_subclass)
|
|||
else
|
||||
ce = Z_OBJCE_PP(obj);
|
||||
for (; ce != NULL; ce = ce->parent) {
|
||||
if ((ce->name_length == (uint)Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) {
|
||||
if ((ce->name_length == Z_STRLEN_PP(class_name)) && !memcmp(ce->name, lcname, ce->name_length)) {
|
||||
efree(lcname);
|
||||
RETURN_TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue