mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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:
parent
5abacc5413
commit
1ccac6ed55
5 changed files with 39 additions and 12 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue