mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
*** empty log message ***
This commit is contained in:
parent
1b4b5c4a88
commit
c7a606c4a3
1 changed files with 1 additions and 0 deletions
|
@ -694,6 +694,7 @@ static char *_php_replace_in_subject(zval *regex, zval *replace, zval *subject)
|
|||
}
|
||||
else {
|
||||
/* Make sure we're dealing with strings and do the replacement */
|
||||
convert_to_string(regex);
|
||||
convert_to_string(replace);
|
||||
result = _php_pcre_replace(regex->value.str.val,
|
||||
subject->value.str.val,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue