I'm -1 on removing short tags, whether now or for PHP5.

I use a Web host that allows short tags, and I can do this to add my XML 
header to be XHTML compliant:

<? echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\" ?>\n"; ?>

Yes, perhaps it is slightly annoying to not just be able to write the 
<?xml ... ?> without it being interpreted by PHP (I think that was the 
original argument, right?). However, I cannot imagine how someone can 
truly justify causing so much pain for so many PHP users for something 
semantic like this. Look at the hardship the register_globals change 
made, and that was:

1. Just a default setting that can be changed back rather than something 
we removed completely.
2. Something that had a significant purpose; it helps inexperienced 
developers avoid some common security mistakes.

Again, -1 from me.

Chris


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

Reply via email to