Skip to content

Commit 8422224

Browse files
committed
Update NEWS and UPGRADING with addition of JSON error locations
1 parent b80ffc5 commit 8422224

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ PHP NEWS
2323
. Fixed bug GH-20426 (Spoofchecker::setRestrictionLevel() error message
2424
suggests missing constants). (DanielEScherzer)
2525

26+
- JSON:
27+
. Enriched JSON last error / exception message with error location.
28+
(Juan Morales)
29+
2630
- Fibers:
2731
. Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI
2832
small value). (David Carlier)

UPGRADING

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ PHP 8.6 UPGRADE NOTES
4040
IntlNumberRangeFormatter::IDENTITY_FALLBACK_RANGE identity fallbacks.
4141
It is supported from icu 63.
4242

43+
- JSON:
44+
. Added extra info about error location to the JSON error messages returned
45+
from json_last_error_msg() and JsonException message.
46+
4347
- Phar:
4448
. Overriding the getMTime() and getPathname() methods of SplFileInfo now
4549
influences the result of the phar buildFrom family of functions.

0 commit comments

Comments
 (0)