On Sat, 23 Sep 2023, Niels Dossche wrote: > On 9/2/23 21:41, Niels Dossche wrote: > > > > I'm opening the discussion for my RFC "DOM HTML5 parsing and > > serialization support". > > https://wiki.php.net/rfc/domdocument_html5_parser > > Some minor changes after a discussion with Tim: > > * The old class names are now written with a leading backslash to > emphasize they are in the global namespace. Hopefully this will resolve > confusion around them. > > * Fixed unclear wording, i.e. "type hint" -> "type declaration" > > * The alias for DOMException will be DOM\DOMException. Because that's the > official name per DOM spec, and otherwise importing it and using it > would be confusing with the global namespace <php>Exception</php> class > (see also > https://github.com/php/php-src/pull/9071#issuecomment-1193162754 for > precedent).
I have just read the RFC, and I find it both well written and compelling to accept. +1 from me. cheers, Derick -- https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/support Host of PHP Internals News: https://phpinternals.news mastodon: @derickr@phpc.social @xdebug@phpc.social twitter: @derickr and @xdebug -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php