At 20:52 26/04/2002, Rasmus Lerdorf wrote: > > <?php if ($foo > $bar) > > ... > > ?> > > > > Is this valid XML? > >No, this is technically invalid XML. You would have to write it as: > > <?php if ($foo > $bar)
Erm, but that won't work :) >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 :) Zeev -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php