Michael Kliewe wrote (on 12/09/2014):
If you check Github you will see round about 10.000 code results, but most of them are tests (.phpt), example files, duplicate results, and maybe <100 projects that really use them, and I would guess >90% of these projects are rarely used and very old. https://github.com/search?p=1&q=%22%3Cscript+language%3Dphp%3E%22&ref=searchresults&type=Code


This file made me chuckle: modern PHP tags to contain the doc block, then dropping into <script> tags for the actual code:

https://github.com/linagora/OBM/blob/next/ui/php/obm.php

More seriously, that's an example of a project which appears to be currently maintained, relying on these tags throughout. Not clear if it's tested against the latest PHP, but no obvious indication that it's not.

I'm in two minds on this one - removing cruft like this certainly makes the language feel more modern and maintained, but whether it's worth breaking the BC on this just for the sake of it, I'm not sure...
--
Rowan Collins
[IMSoP]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to