summaryrefslogtreecommitdiff
path: root/Zend
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-12-22 12:31:00 +0300
committerDmitry Stogov <dmitry@zend.com>2014-12-22 12:31:00 +0300
commit552c06d439962cc4f949ea2b26ff6067b4260233 (patch)
tree30f2bda443ee369e324a6b7964a830b391301e4b /Zend
parentb5b617674e035343ce836b79c2cc8a0ce8aece64 (diff)
downloadphp-git-552c06d439962cc4f949ea2b26ff6067b4260233.tar.gz
typo
Diffstat (limited to 'Zend')
-rw-r--r--Zend/zend_vm_def.h2
-rw-r--r--Zend/zend_vm_execute.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h
index f3c0a40bb8..c6ceeefe00 100644
--- a/Zend/zend_vm_def.h
+++ b/Zend/zend_vm_def.h
@@ -3473,7 +3473,7 @@ ZEND_VM_C_LABEL(send_array):
int separate = 0;
/* check if any of arguments are going to be passed by reference */
- for (arg_num = 0; arg_num < zend_hash_num_elements(ht); arg_num) {
+ for (arg_num = 0; arg_num < zend_hash_num_elements(ht); arg_num++) {
if (ARG_SHOULD_BE_SENT_BY_REF(EX(call)->func, arg_num + 1)) {
separate = 1;
break;
diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h
index 797c0607bd..c1f5e27c3f 100644
--- a/Zend/zend_vm_execute.h
+++ b/Zend/zend_vm_execute.h
@@ -886,7 +886,7 @@ send_array:
int separate = 0;
/* check if any of arguments are going to be passed by reference */
- for (arg_num = 0; arg_num < zend_hash_num_elements(ht); arg_num) {
+ for (arg_num = 0; arg_num < zend_hash_num_elements(ht); arg_num++) {
if (ARG_SHOULD_BE_SENT_BY_REF(EX(call)->func, arg_num + 1)) {
separate = 1;
break;