Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,11 @@ PHP NEWS
- MySQLnd:
. Fixed field_count not resetting on OK packet. (Kamil Tekiela)

- JSON:
. Added a vectorized (SSE2/NEON) fast path to php_json_escape_string()
that bulk-copies runs of bytes which need no escaping, speeding up
json_encode() on ASCII-heavy strings. (adapik)

- Opcache:
. Fixed range inference of assignments through typed references.
(Ilia Alshanetsky)
Expand Down
7 changes: 7 additions & 0 deletions UPGRADING
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,13 @@ PHP 8.7 UPGRADE NOTES
14. Performance Improvements
========================================

- JSON:
. Improve performance of encoding arrays and objects.
. Improved performance of indentation generation in json_encode()
when using PHP_JSON_PRETTY_PRINT.
. Added an SSE2/NEON fast path for encoding strings that need no
escaping, speeding up json_encode() on ASCII-heavy payloads.

- Standard:
. Improved performance of strcspn() and strpbrk() when searching longer strings
with a single-byte character mask.
Expand Down
Loading
Loading