mirror of
https://github.com/php/php-src.git
synced 2024-11-24 02:15:04 +08:00
2f5295692f
Closes GH-7847 Closes GH-7852 Previously stripos/stristr would lowercase both the haystack and the needle to reuse strpos. The approach in this PR is similar to strpos. memchr is highly optimized so we're using it to search for the first character of the needle in the haystack. If we find it we compare the remaining characters of the needle manually. The new implementation seems to perform about half as well as strpos (as two memchr calls are necessary to find the next candidate).
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
PHP NEWS
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
?? ??? ????, PHP 8.2.0alpha1
|
|
|
|
- CLI:
|
|
. Fixed bug #81496 (Server logs incorrect request method). (lauri)
|
|
|
|
- Core:
|
|
. Fixed bug #81380 (Observer may not be initialized properly). (krakjoe)
|
|
|
|
- Intl:
|
|
. Update all grandfathered language tags with preferred values
|
|
|
|
- OCI8:
|
|
. Added oci8.prefetch_lob_size directive to tune LOB query performance
|
|
. Support for building against Oracle Client libraries 10.1 and 10.2 has been
|
|
dropped. Oracle Client libraries 11.2 or newer are now required.
|
|
|
|
- Standard:
|
|
. net_get_interfaces() also reports wireless network interfaces on Windows.
|
|
(Yurun)
|
|
. Finished AVIF support in getimagesize(). (Yannis Guyon)
|
|
. Fixed bug GH-7847 (stripos with large haystack has bad performance).
|
|
(ilutov)
|
|
|
|
- Zip:
|
|
. add ZipArchive::clearError() method
|
|
. add ZipArchive::getStreamName() method
|
|
. add ZipArchive::getStreamIndex() method
|
|
|
|
<<< NOTE: Insert NEWS from last stable release here prior to actual release! >>>
|