From 4e42ad5bf2dbc51d18bc683db3b2168ebf8df8d1 Mon Sep 17 00:00:00 2001 From: DanielEScherzer Date: Fri, 4 Jul 2025 14:41:24 -0700 Subject: [PATCH] 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()`. --- ext/standard/string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/standard/string.c b/ext/standard/string.c index 36903b3c5c7..75be1f1dcab 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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(); } }