Re[2]: [PHP-DEV] short_open_tag
| From: | Antony Dovgal | Date: | Wed, 16 Oct 2002 09:11:17 +0000 |
| Subject: | Re[2]: [PHP-DEV] short_open_tag | ||
| References: | 1 2 3 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89555@lists.php.net to get a copy of this message | ||
Hello Dan,
Tuesday, October 15, 2002, 7:41:16 PM, you wrote:
DH> The web is a rapidly changing market and standards are being activley
DH> evolved. <?php is more compatable with standards on the web than <? ...
DH> and its not about XML document headers.
Yes, the web is rapidly changing, but PHP shouldn't and couldn't change so fast.
DH> I have written semi static XML document from php before (for speed reasons
DH> over using an output parser). EG:
DH> <?xml ... ?>
DH> <root>
DH> <data>
DH> <age><?php echo $age; ?></age>
DH> </data>
DH> </root>
You can disable short_tags on 99% of hostings yourself.
By disabling short_tags we can solve one small problem and obtain one
really BIG.
DH> The other advantage is to force people one way or the other. In the case
DH> of 50% of servers allowing short tags, and the other not... a script using
DH> short tags will only work on 50% of PHP installations (just as a script
DH> that relies on register_globals will only work on servers with it switched
DH> on).
Hmmm.. I don't see any advantage in forcing people at all.
People MUST have choice(and possibility to learn on their own mistakes).
I think we can finish this discussion.
The answer is NO.
Antony Dovgal aka tony2001 mailto:tony2001@ua.fm
http://phpclub.net