mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
This commit is contained in:
commit
846bea7f05
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ static inline int add_post_vars(zval *arr, post_var_data_t *vars, zend_bool eof)
|
|||
}
|
||||
}
|
||||
|
||||
if (!eof) {
|
||||
if (!eof && ZSTR_VAL(vars->str.s) != vars->ptr) {
|
||||
memmove(ZSTR_VAL(vars->str.s), vars->ptr, ZSTR_LEN(vars->str.s) = vars->end - vars->ptr);
|
||||
}
|
||||
return SUCCESS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue