At 11:10 17/10/2002, Yasuo Ohgaki wrote:
>Zeev Suraski wrote:
>>No, we shouldn't have.  It is not a deprecated feature or a discouraged 
>>feature.  If you use the *FAIRLY RARE* combination of using PHP to 
>>generate XML, you'd have to configure your PHP.  If you're with the vast 
>>majority of the population and couldn't care less about writing 
>>XML-embedded scripts, you enjoy a working short tag.
>
>I know it's a kind of religious issue :)
>
>Anyway, if it's rare we don't need "<?xml" awareness in parser.

Since there are no drawbacks at all to the <?xml detection, and since it 
does cover a great deal of the problem (taking into account the very 
limited scope of the problem), I don't see a good reason not to add 
it.  Rasmus put it very well in one of his recent letters - PHP is not a 
purists' language, complex problem sometimes require 'ugly' solutions...

>We are better to note php.ini-dist/recommened that
>portable script writer should not depend on short tags.
>Any objection for adding the comment?

No objection from me.  We encourage that in general for portable script if 
only for the fact you can't know for sure your script would work on all 
setups unless you use long tags.

Zeev


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

Reply via email to