On 13/04/07, Tomas Kuliavas <[EMAIL PROTECTED]> wrote:
>> Surely we must to keep a setting just because two people in the world
>> use it.
>> I'm afraid their apps won't run on PHP6 anyway because of numerous major
>> changes
>> (already done and still planned), so one more cleanup won't hurt anyone.
>
> This isn't cleanup. This is dropping a feature without a similar
> alternative. Short tags are problematic because of xhtml templates.
> ASP tags collide with no (x)html markup, and they are short and easy
> to type/read in templates.
ASP tags do collide with some html markup.
<td width=10%>
Boom.
I know. Value should be quoted. 'asp_tags = on' is yet another way to
break php scripts. Some developers don't expect it and make typos in html
attributes.
Not "should be", it is a must. Quoting HTML 4.01: "In certain cases,
authors may specify the value of an attribute without any quotation
marks. The attribute value may only contain letters (a-z and A-Z),
digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46),
underscores (ASCII decimal 95), and colons (ASCII decimal 58)."
So, your example is not HTML, so it doesn't show any collision.
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php