Zeev Suraski wrote:
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...
Hmm. I fails to see importance of <?xml awareness.
I see side effect of <? tag as PHP start tag.
IMHO, language that supposed to process XML document should
not have <? as start tag. Use of <? should be discouraged
if a language suppose to work with <?xml.
I'm not insisting removal of it, but having <? start tag,
and keep encouraging use of it, is a design flaw to me.
--
Yasuo Ohgaki
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php