> >   <?php if ($foo &gt; $bar)
>
> Erm, but that won't work :)

Obviously.

> >But sheez... That's just way too ugly, you can work around it and there
> >are other examples out there of people breaking this rule. Doing <?php= is
> >a much more flagrant violation in my opinion.
>
> Look, I'm not trying to argue in favour of <?php= or anything.  I'm just
> going back to this discussion from 5 years ago, and pointing out that I
> still don't quite understand why we cared about XML compliance, when a
> language such as PHP cannot be XML compliant no matter what :)

It looks like we can.  I was assuming the SGML characteristics for XML and
it looks like I was wrong.  A '>' is ok inside the <?php ?> tags.

-R


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

Reply via email to