At 21:07 26/04/2002, Sterling Hughes wrote:
>The whole point of the <?php tag is to allow people to embed commands in
>XML documents.  When short tags are disabled, commands such as <% echo
>'HELLO'; %> don't work.  If you allow <?php=?> syntax, it is not valid
>XML, which negates the point of having <?php in the first place.

He was wrong about the 2nd example, but I'm pretty sure about his first:

<?php if ($foo > $bar)
...
?>

Is this valid XML?


[I'm not taking sides on whether <?php= should be supported or not]

Zeev


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

Reply via email to