summaryrefslogtreecommitdiff
path: root/main/php_variables.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-02-28 05:33:43 +0000
committerZeev Suraski <zeev@php.net>2000-02-28 05:33:43 +0000
commit583556a3c24415e6bf265349d5edf4555e0afa1a (patch)
tree2c5b09fd3e8a78f798ebf38b2fdeb4fd2a92654d /main/php_variables.c
parent45315698d883bce50c28f27c0186e39bc4e15ef1 (diff)
downloadphp-git-583556a3c24415e6bf265349d5edf4555e0afa1a.tar.gz
@- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
@ and $foo are no longer references to each other, but separate variables @ like they were prior to PHP 4.0 Beta 4 (Zeev)
Diffstat (limited to 'main/php_variables.c')
-rw-r--r--main/php_variables.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 84c487d01f..53aead4f6d 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -176,7 +176,6 @@ PHPAPI void php_register_variable_ex(char *var, zval *val, pval *track_vars_arra
}
if (top_gpc_p) {
- (*top_gpc_p)->is_ref = 1;
if (symtable2) {
zend_hash_update_ptr(symtable2, var, var_len+1, *top_gpc_p, sizeof(zval *), NULL);
(*top_gpc_p)->refcount++;