Skip to content

Commit 4e42ad5

Browse files
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()`.
1 parent 3558293 commit 4e42ad5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2404,7 +2404,7 @@ PHP_FUNCTION(substr_replace)
24042404
if (repl_idx < repl_ht->nNumUsed) {
24052405
repl_str = zval_get_tmp_string(tmp_repl, &tmp_repl_str);
24062406
} else {
2407-
repl_str = STR_EMPTY_ALLOC();
2407+
repl_str = ZSTR_EMPTY_ALLOC();
24082408
}
24092409
}
24102410

0 commit comments

Comments
 (0)