Commit 9e46325ad25 for php
commit 9e46325ad25354611522f5d58a8275e715463ad5
Author: Weilin Du <weilindu@php.net>
Date: Sun Nov 29 15:45:31 2026 +0800
[skip ci] Add NEWS entry for #25851
diff --git a/NEWS b/NEWS
index e96c1d882c9..dbf19c60c02 100644
--- a/NEWS
+++ b/NEWS
@@ -238,6 +238,8 @@ PHP NEWS
specified number base. (Sjoerd Langkemper)
. Improved performance of in_array() and array_search() in strict mode when
searching for a string. (Alexander Danilov)
+ . Improved performance of str_replace() when the search string is longer than
+ one byte and the replacement has a different length. (Weilin Du)
- URI:
. Fix casing of enum cases in UriHostType and UrlHostType to match the RFC