El vie, 26 ago 2022 a las 11:55, Peter Bowyer (<phpmailingli...@gmail.com>) escribió: > > That's a good point which I had overlooked. Does an exception make most > sense when this happens? > > Peter
I just got a code review from Derick Rethans explaining me that a validation routine should not throw an exception. I think is a good idea to take it out, after all , the depth parameter is part of the validation too. RFC: https://wiki.php.net/rfc/json_validate Implementation: https://github.com/php/php-src/pull/9399 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php