summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2014-04-12 23:54:57 +0200
committerBob Weinand <bobwei9@hotmail.com>2014-04-12 23:54:57 +0200
commit53b1dce587e73bd445d4b2fc35c196d2d20741dd (patch)
treeaafe05fe3085a6625370eb62a566d6c256ce42a3 /main/php_variables.c
parent096e40a027eb3df6364c3674660b8c9592e1f1b6 (diff)
parent9302be375436c1b77654443406389c5976a0c20b (diff)
downloadphp-git-53b1dce587e73bd445d4b2fc35c196d2d20741dd.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index f529898bf0..d1e51b9023 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -593,7 +593,7 @@ static void php_build_argv(char *s, zval *track_vars_array TSRMLS_DC)
Z_ADDREF_P(arr);
Z_ADDREF_P(argc);
zend_hash_update(&EG(symbol_table), "argv", sizeof("argv"), &arr, sizeof(zval *), NULL);
- zend_hash_add(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL);
+ zend_hash_update(&EG(symbol_table), "argc", sizeof("argc"), &argc, sizeof(zval *), NULL);
}
if (track_vars_array) {
Z_ADDREF_P(arr);