Skip to content

Commit a559731

Browse files
committed
Fixed performance degradation caused by arg_info of internal function
1 parent d19ecd0 commit a559731

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3053,7 +3053,7 @@ ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc)
30533053
if (fbc) {
30543054
if (fbc->type == ZEND_INTERNAL_FUNCTION && !(CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS)) {
30553055
if (init_op->opcode == ZEND_INIT_FCALL && !zend_execute_internal) {
3056-
if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED|ZEND_ACC_HAS_TYPE_HINTS|ZEND_ACC_RETURN_REFERENCE))) {
3056+
if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED))) {
30573057
return ZEND_DO_ICALL;
30583058
} else {
30593059
return ZEND_DO_FCALL_BY_NAME;

0 commit comments

Comments
 (0)