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:
DanielEScherzer 2025-07-04 14:41:24 -07:00 committed by GitHub
parent 3558293ce8
commit 4e42ad5bf2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();
}
}