Re: XML tags are just a cheap rip-off of PHP tags

That's correct, it's been around much longer than PHP AFAIK.

Also if you turn off short_tags, which is recommended to be off anyway,
then you don't even need to echo it.

Jasper

Kelly Miller wrote:
> 
> ACTUALLY, I believe the <?...?> processing instruction syntax was
> present in SGML, which predates XML, PHP, HTML and just about any other
> language that might use this syntax.
> 
> Oh, and you can insert the XML prolog in PHP simply by echoing it:
> 
> <?php echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>"; ?>
> 
> dagobah1@optonline.net wrote:
> 
>>
>> PHP has been around long before you started working on XML, so don't
>> denie you stold their tags.
>>
>> <? ...... ?>  Couldn't you come up with something else?
>>
>> If a page ends in .php there is absoluty NO WAY to decleare XML with
>> your little
>> <?xml version="1.0" encoding="ISO-8859-1"?> tag.
>>
>> Don't you realize that by doing this, you screwed yourself.  Because
>> very few people will use that tag, and thus its death will come
>> quick.  The only pages that can use that tag are pages that end in
>> .html or .asp which are the second and their most common extensions. 
>> .php is quickly becomming number one in the extension that people use
>> for their sites.
>>
>> Now don't brush me off like you did once before when I brought this
>> up.  You people really need to realize that you aren't the smartest
>> people on Earth, and your word isn't law, and you aren't God.
>>
>>
>> P.S. I don't want that moron spartanicus (spartanicus.3@ntlworld.ie)
>> to comment, he doesn't know anything.  He's just a little sissy punk
>> whom can talk big but can't back anything up.
>>
>>
>>
> 

Received on Thursday, 23 June 2005 05:06:59 UTC