diff options
author | Stanislav Malyshev <stas@php.net> | 2000-09-11 14:50:26 +0000 |
---|---|---|
committer | Stanislav Malyshev <stas@php.net> | 2000-09-11 14:50:26 +0000 |
commit | 1ccac6ed55a4d8cf93b38a1df56e640efa869da2 (patch) | |
tree | 63b37cc220b4ba2ad2459dfb62c7662efdc2a46c /main/php_variables.c | |
parent | 5abacc5413420c4aae53a2e8a61feaf6387da2d2 (diff) | |
download | php-git-1ccac6ed55a4d8cf93b38a1df56e640efa869da2.tar.gz |
Add additional parameter to parse_str for saving result (thanks to
John Bafford <dshadow@zort.net>)
@ Added second parameter for parse_str to save result (John Bafford)
Diffstat (limited to 'main/php_variables.c')
-rw-r--r-- | main/php_variables.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/php_variables.c b/main/php_variables.c index 65baee6248..4187d00eba 100644 --- a/main/php_variables.c +++ b/main/php_variables.c @@ -209,7 +209,7 @@ SAPI_POST_HANDLER_FUNC(php_std_post_handler) } -void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC) +void php_treat_data(int arg, char *str, zval* destArray ELS_DC PLS_DC SLS_DC) { char *res = NULL, *var, *val; pval *array_ptr; @@ -236,7 +236,7 @@ void php_treat_data(int arg, char *str ELS_DC PLS_DC SLS_DC) } break; default: - array_ptr=NULL; + array_ptr=destArray; break; } |