mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
no need to return bool and false in the same time =)
This commit is contained in:
parent
0d65d72f77
commit
402cbc1db9
@ -1041,7 +1041,6 @@ ZEND_FUNCTION(property_exists)
|
||||
RETURN_FALSE; /* shouldn't happen */
|
||||
}
|
||||
RETURN_BOOL(EG(scope) == ce);
|
||||
RETURN_FALSE;
|
||||
|
||||
case IS_OBJECT:
|
||||
if (Z_OBJ_HANDLER_PP(object, has_property) && Z_OBJ_HANDLER_PP(object, has_property)(*object, *property, 2 TSRMLS_CC)) {
|
||||
|
Loading…
Reference in New Issue
Block a user