tony2001 Sat Aug 30 22:26:09 2008 UTC Modified files: (Branch: PHP_5_3) /php-src/main php_variables.c Log: WS http://cvs.php.net/viewvc.cgi/php-src/main/php_variables.c?r1=1.104.2.10.2.11.2.7&r2=1.104.2.10.2.11.2.8&diff_format=u Index: php-src/main/php_variables.c diff -u php-src/main/php_variables.c:1.104.2.10.2.11.2.7 php-src/main/php_variables.c:1.104.2.10.2.11.2.8 --- php-src/main/php_variables.c:1.104.2.10.2.11.2.7 Sat Aug 30 18:27:29 2008 +++ php-src/main/php_variables.c Sat Aug 30 22:26:09 2008 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_variables.c,v 1.104.2.10.2.11.2.7 2008/08/30 18:27:29 rasmus Exp $ */ +/* $Id: php_variables.c,v 1.104.2.10.2.11.2.8 2008/08/30 22:26:09 tony2001 Exp $ */ #include <stdio.h> #include "php.h" @@ -69,7 +69,7 @@ HashTable *symtable1 = NULL; assert(var_name != NULL); - + if (track_vars_array) { symtable1 = Z_ARRVAL_P(track_vars_array); } else if (PG(register_globals)) { @@ -88,8 +88,8 @@ * Prepare variable name */ - var_orig = estrdup(var_name); - var = var_orig; + var_orig = estrdup(var_name); + var = var_orig; /* ignore leading spaces in the variable name */ while (*var && *var==' ') { var++;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php