Hi Jakub, Le mer. 23 juil. 2025 à 17:41, Jakub Zelenka <bu...@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