From: Dmitry Stogov Date: Mon, 17 Jul 2017 06:11:14 +0000 (+0300) Subject: Allocate additional slot for third argument X-Git-Tag: php-7.2.0beta1~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b31e77dbea39f97dfd4fa434bad46286d789a861;p=php Allocate additional slot for third argument --- diff --git a/ext/opcache/Optimizer/sccp.c b/ext/opcache/Optimizer/sccp.c index 326603a0e4..1e023f1b1b 100644 --- a/ext/opcache/Optimizer/sccp.c +++ b/ext/opcache/Optimizer/sccp.c @@ -999,7 +999,7 @@ static void sccp_visit_instr(scdf_ctx *scdf, zend_op *opline, zend_ssa_op *ssa_o case ZEND_DO_ICALL: { zend_call_info *call; - zval *name, *args[2] = {NULL}; + zval *name, *args[3] = {NULL}; int i; if (!ctx->call_map) {