summaryrefslogtreecommitdiff
path: root/Zend/zend_compile.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2013-09-27 15:57:13 -0700
committerChristopher Jones <sixd@php.net>2013-09-27 15:57:13 -0700
commitaba30ce30676b6d73a2169b10311dfb07768630c (patch)
treea8f56339dff39eba9a933a718362f390ef77621d /Zend/zend_compile.c
parenta3b0fa0d04cad5712f64e08463d0026f9890a37c (diff)
parent56eee05f66431b153c9212452c1f4f2e8525efc4 (diff)
downloadphp-git-aba30ce30676b6d73a2169b10311dfb07768630c.tar.gz
Merge branch 'master' of https://git.php.net/repository/php-src
# By Dmitry Stogov (2) and others # Via Christopher Jones (22) and others * 'master' of https://git.php.net/repository/php-src: Removed references to "Zend Support" Added support for GNU Hurd. (Svante Signell) - Updated to version 2013.6 (2013f) More OCI8 DTrace probe updates. Change php.ini-* doc to match an earlier change to config.w32 FIX BUG #48539 - Disable TEXTLIMIT for FreeTDS driver Don't track parameter number in separate znode fix missing change from 'tcp_socket' to the more common 'server' fix many parallel test issues
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r--Zend/zend_compile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index 90ff26297a..25a604c440 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -1822,7 +1822,7 @@ void zend_do_end_function_declaration(const znode *function_token TSRMLS_DC) /*
}
/* }}} */
-void zend_do_receive_arg(zend_uchar op, znode *varname, const znode *offset, const znode *initialization, znode *class_type, zend_uchar pass_by_reference, zend_bool is_variadic TSRMLS_DC) /* {{{ */
+void zend_do_receive_param(zend_uchar op, znode *varname, const znode *initialization, znode *class_type, zend_uchar pass_by_reference, zend_bool is_variadic TSRMLS_DC) /* {{{ */
{
zend_op *opline;
zend_arg_info *cur_arg_info;
@@ -1863,7 +1863,8 @@ void zend_do_receive_arg(zend_uchar op, znode *varname, const znode *offset, con
CG(active_op_array)->num_args++;
opline->opcode = op;
SET_NODE(opline->result, &var);
- SET_NODE(opline->op1, offset);
+ opline->op1_type = IS_UNUSED;
+ opline->op1.num = CG(active_op_array)->num_args;
if (op == ZEND_RECV_INIT) {
SET_NODE(opline->op2, initialization);
} else {