Re: [RFC] JSON Schema validation support

From: Date: Thu, 24 Jul 2025 06:51:19 +0000
Subject: Re: [RFC] JSON Schema validation support
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-128202@lists.php.net to get a copy of this message
Hi Jakub, Le mer. 23 juil. 2025 à 17:41, Jakub Zelenka <bukka@php.net> a écrit : > In addition it could be useful to create it from array or from class (sort of auto generate > schema) Writing schema by hand is painful, so that would be amazing to see this feature land one day. > I actually took that name from recently introduced HTMLDocument::createFromString and > XMLDocument::createFromString . So not sure what is more consistent. Personally I don't really > mind. Indeed, a quick search in the code showed that in both cases, it seems there's only one or two occurrences for each. Let's keep it as-is then. Best, Alex

« previous php.internals (#128202) next »