mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
ext/standard/string.c: don't use STR_EMPTY_ALLOC()
(#19033)
This was the only remaining use of a compatibility alias from 10 years ago; replace with `ZSTR_EMPTY_ALLOC()`.
This commit is contained in:
parent
3558293ce8
commit
4e42ad5bf2
1 changed files with 1 additions and 1 deletions
|
@ -2404,7 +2404,7 @@ PHP_FUNCTION(substr_replace)
|
|||
if (repl_idx < repl_ht->nNumUsed) {
|
||||
repl_str = zval_get_tmp_string(tmp_repl, &tmp_repl_str);
|
||||
} else {
|
||||
repl_str = STR_EMPTY_ALLOC();
|
||||
repl_str = ZSTR_EMPTY_ALLOC();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue