Yep. We run c5 through a filter before we post an official version. Add-on developers will have to be a little careful with the way they output XML string, but other than that it seems to work well – and plus, it allows us to be lazy and type <? and <?=, which is a total bonus.
6 Mar, 2012 - Downloaded 5.5.1 through download link here @C5 site; from the half dozen files I have looked at so far, not using any short tags. Hand-jamming PHP for years, I see this continued practice as "amateur" to put it as politely as possible.
An .htaccess file with a simple "php_flag short_open_tag On" entry would make the C5 code much more "up-to-date", slightly boost performance and make the code smaller, all with a single file around 26 bytes.
"code that is not there is ultra-fast and never breaks"
I've heard stories of some hosts preventing .htaccess file use, but in this age of competition, smarter system admins, and the inevitable "customer that wants to control everything" those certainly have become few and far between.
Speaking of root files, a robots files wouldn't be a bad idea either...
I think you might have missed the point of short tags being used in development, and Andrew's post above about running that through a filter before posting an official release.
I still see the short tags as a disadvantage since diff is such a great tool (especially during development).
There is a robots.txt in the releases, and not all hosts are Apache based...
Code
Post Reply
Delete Post
You are allowed to delete your post for 5 minutes after it's posted.
As for the short tags, I've noticed that the official release in branches/releases/5.4.0 does not have them, while the version in trunk/web does.
-Steve