mirror of
https://github.com/php/php-src.git
synced 2024-12-17 05:50:14 +08:00
Drop now superflous check for VIA_TRAMPOLINE
This is not handled by USE_ARG_INFO.
This commit is contained in:
parent
52e9a772a3
commit
44b7489fef
@ -2998,9 +2998,7 @@ ZEND_METHOD(reflection_type, __toString)
|
||||
case IS_OBJECT:
|
||||
if (param->fptr->type == ZEND_INTERNAL_FUNCTION &&
|
||||
!(param->fptr->common.fn_flags & ZEND_ACC_USER_ARG_INFO)) {
|
||||
if (!(param->fptr->internal_function.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)) {
|
||||
RETURN_STRING(((zend_internal_arg_info*)param->arg_info)->class_name);
|
||||
}
|
||||
RETURN_STRING(((zend_internal_arg_info*)param->arg_info)->class_name);
|
||||
}
|
||||
RETURN_STR_COPY(param->arg_info->class_name);
|
||||
case IS_STRING: RETURN_STRINGL("string", sizeof("string") - 1);
|
||||
|
Loading…
Reference in New Issue
Block a user