Skip to content

Commit 68301b1

Browse files
committed
[skip ci] Add docs for json_validate in UPGRADING*
1 parent 4ed8d52 commit 68301b1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

UPGRADING

+4
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,10 @@ PHP 8.3 UPGRADE NOTES
4747
6. New Functions
4848
========================================
4949

50+
- JSON:
51+
. Added json_validate(), which returns whether the json is valid for
52+
the given $depth and $options.
53+
5054
- Posix:
5155
. Added posix_sysconf call to get runtime informations.
5256

UPGRADING.INTERNALS

+3
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ PHP 8.3 INTERNALS UPGRADE NOTES
2525
3. Module changes
2626
========================
2727

28+
a. ext/json
29+
- A new function php_json_validate_ex has been added to check if the
30+
provided C string is valid for the given depth and options.
2831
========================
2932
4. OpCode changes
3033
========================

0 commit comments

Comments
 (0)