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)
This commit is contained in:
Stanislav Malyshev 2000-09-11 14:50:26 +00:00
parent 5abacc5413
commit 1ccac6ed55
5 changed files with 39 additions and 12 deletions

View file

@ -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;
}