Re: <?= and <%= both work, why not <?php=

From: Date: Fri, 26 Apr 2002 17:52:38 +0000
Subject: Re: <?= and <%= both work, why not <?php=
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83387@lists.php.net to get a copy of this message
> <?php if ($foo > $bar) > ... > ?> > > Is this valid XML? No, this is technically invalid XML. You would have to write it as: <?php if ($foo &gt; $bar) 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. -Rasmus

« previous php.dev (#83387) next »