From 68301b14b4e34e7c08dce1ac1070b4c19e8fc155 Mon Sep 17 00:00:00 2001 From: Tyson Andre Date: Sat, 8 Oct 2022 09:52:19 -0400 Subject: [PATCH] [skip ci] Add docs for json_validate in `UPGRADING*` --- UPGRADING | 4 ++++ UPGRADING.INTERNALS | 3 +++ 2 files changed, 7 insertions(+) diff --git a/UPGRADING b/UPGRADING index 48445af0ed5..47599f3414e 100644 --- a/UPGRADING +++ b/UPGRADING @@ -47,6 +47,10 @@ PHP 8.3 UPGRADE NOTES 6. New Functions ======================================== +- JSON: + . Added json_validate(), which returns whether the json is valid for + the given $depth and $options. + - Posix: . Added posix_sysconf call to get runtime informations. diff --git a/UPGRADING.INTERNALS b/UPGRADING.INTERNALS index e3b3345d2e8..47f37cf1c92 100644 --- a/UPGRADING.INTERNALS +++ b/UPGRADING.INTERNALS @@ -25,6 +25,9 @@ PHP 8.3 INTERNALS UPGRADE NOTES 3. Module changes ======================== + a. ext/json + - A new function php_json_validate_ex has been added to check if the + provided C string is valid for the given depth and options. ======================== 4. OpCode changes ========================