com php-src: Fixed performance degradation caused by arg_info of internal function: Zend/zend_compile .c

From: Date: Mon, 02 Sep 2019 09:11:18 +0000
Subject: com php-src: Fixed performance degradation caused by arg_info of internal function: Zend/zend_compile .c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-108176@lists.php.net to get a copy of this message
Commit: a5597312e4a9d67047c3b750d3c4cc141d03985d Author: Dmitry Stogov <dmitry@zend.com> Mon, 2 Sep 2019 12:11:18 +0300 Parents: d19ecd0f334520b4c047b7b9ab4a368230c29da2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a5597312e4a9d67047c3b750d3c4cc141d03985d Log: Fixed performance degradation caused by arg_info of internal function Changed paths: M Zend/zend_compile.c Diff: diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index 18b5108..da532e7 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3053,7 +3053,7 @@ ZEND_API zend_uchar zend_get_call_op(const zend_op *init_op, zend_function *fbc) if (fbc) { if (fbc->type == ZEND_INTERNAL_FUNCTION && !(CG(compiler_options) & ZEND_COMPILE_IGNORE_INTERNAL_FUNCTIONS)) { if (init_op->opcode == ZEND_INIT_FCALL && !zend_execute_internal) { - if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED|ZEND_ACC_HAS_TYPE_HINTS|ZEND_ACC_RETURN_REFERENCE))) { + if (!(fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED))) { return ZEND_DO_ICALL; } else { return ZEND_DO_FCALL_BY_NAME;

« previous php.cvs (#108176) next »