On Fri, May 22, 2015 at 1:01 PM, Jakub Kubíček <kelerest...@gmail.com> wrote: > Hi Internals, > > I have recently made a patch[1] for PHP7 that replaces dead and obsolete > HTML code (like <img border="0">, <a name="..."></a> vs. <... > id="..."></...> or XHTML's NET notation <br /> vs. HTML's <br>), mostly > being output by PHP itself (error messages, phpinfo() etc.), with > alternatives that are being used rather nowadays. > > I would appreciate any feedback, as well as thoughts what else could be > included in the patch.
I see no value in the changes from `<br/>` to `<br>`. It saves very few characters and means you can't use XML parsers anymore. HTML 5 permits the XHTML syntax, so it's not like `<br>` is more conforming to HTML5 than `<br/>` is. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php