```diff $json = '{"key": "value"}'; -if (json_decode($json, true) !== null && json_last_error() === JSON_ERROR_NONE) { +if (json_validate($json)) { echo "Valid JSON"; } ```
Activity
samsonasik commentedon May 19, 2025
json_validate seems has
flagsparameter, the change seems documented at https://php.watch/versions/8.3/json_validate for the transformation needs.samsonasik commentedon Sep 3, 2025
Downgrade first rule ready at:
samsonasik commentedon Sep 4, 2025
implemented at PR
github-actions commentedon Feb 8, 2026
This issue has been automatically locked because it has been closed for 150 days. Please open a new issue if you have a similar problem.