]> granicus.if.org Git - php/commitdiff
@- Switched back to the old $HTTP_*_VARS[] behavior - $HTTP_GET_VARS["foo"]
authorZeev Suraski <zeev@php.net>
Mon, 28 Feb 2000 05:33:43 +0000 (05:33 +0000)
committerZeev Suraski <zeev@php.net>
Mon, 28 Feb 2000 05:33:43 +0000 (05:33 +0000)
@  and $foo are no longer references to each other, but separate variables
@  like they were prior to PHP 4.0 Beta 4 (Zeev)

main/php_variables.c

index 84c487d01f9b2515b73e79c43604dbef90483340..53aead4f6d88a4f50181690c3eb6ecd9b7784493 100644 (file)
@@ -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++;