Hello David,

  we're not going to add ini settings just to support worse code.

best regards
marcus

Sunday, April 15, 2007, 8:14:12 AM, you wrote:

> I suggest adding a new php.ini option: ignore_xml_tags, default to on, which
> would cause the parser to just ignore <?xml .. ?> tags.

> -- 

> // DvDmanDT
> mail: dvdmandt¤telia.com
> msn: dvdmandt¤hotmail.com
> "Bart de Boer" <[EMAIL PROTECTED]> skrev i meddelandet 
> news:[EMAIL PROTECTED]
>>
>> I think ASP tags should go too... Simply because it's not standards 
>> compliant and I think it's good if people are forced to make nice 
>> standards compliant documents... I'd even go so far as to favor dropping 
>> short tags too...
>>
>> <? echo "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"; ?>
>>
>> What a mess!...
>>
>>
>>
>>
>> Guilherme Blanco wrote:
>>> I really can't see a reason to mantain ASP tags.
>>>
>>> Ok, short tags is good because of <?=$something?>, but it doesn't
>>> behavior well with XML documents. So, if your intention is to change
>>> short tags to ASP tag in a near future, ok. ASP tags does not mix XML
>>> documents.
>>> Otherwise, ASP tags is the most useless thing I've ever heard in PHP
>>> sphere. I really don't know why wasn't it dropped in PHP5.
>>>
>>> That's what I think... IMHO.
>>>
>>>
>>> []s,
>>>
>>> On 4/13/07, Tijnema ! <[EMAIL PROTECTED]> wrote:
>>>> On 4/13/07, Richard Lynch <[EMAIL PROTECTED]> wrote:
>>>> > On Fri, April 13, 2007 9:16 am, Tijnema ! wrote:
>>>> > > I don't see why you are all against dropping the ASP tags. I see
>>>> > > people using ASP & PHP in one script, what would that do? If ASP 
>>>> > > runs
>>>> > > first then there isn't a problem, but if PHP runs first, it would
>>>> > > execute the ASP code.
>>>> >
>>>> > There are actually people running both PHP and ASP in series to
>>>> > generate HTML?
>>>> >
>>>> > If they are, they can turn ASP tags *OFF* in php.ini
>>>> >
>>>> > And they certainly aren't going to be distributing that setup outside
>>>> > their own little world...
>>>>
>>>> I've seen such code on the net some time ago...
>>>>
>>>> But should you distribute PHP code with ASP tags? That's not good
>>>> either i think. So there's no use of the ASP tags, and they can only
>>>> interfere with ASP.

Best regards,
 Marcus

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

Reply via email to