Re: RFC json_validate() - status: Under Discussion

From: Date: Fri, 26 Aug 2022 10:00:01 +0000
Subject: Re: RFC json_validate() - status: Under Discussion
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-118500@lists.php.net to get a copy of this message
El vie, 26 ago 2022 a las 11:55, Peter Bowyer (<phpmailinglists@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

« previous php.internals (#118500) next »