Re: short_open_tag
| From: | Zeev Suraski | Date: | Thu, 17 Oct 2002 09:26:03 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-89624@lists.php.net to get a copy of this message | ||
At 11:10 17/10/2002, Yasuo Ohgaki wrote:
Zeev Suraski wrote: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...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.
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