mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01: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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user