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

From: Date: Fri, 26 Apr 2002 19:33:34 +0000
Subject: Re: <?= and <%= both work, why not <?php=
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83394@lists.php.net to get a copy of this message
I hear that. Not that reading specs and standards isn't fun... J Rasmus Lerdorf wrote: >> I'm pretty sure it is. It parses fine according to Xerces, at any rate. >> At first, I was thinking the greater than comparison would cause >> problems, as <xsl:if> elements like seeing the test written as "foo &gt; >> bar", but when you have the symbol inside of a processing instruction, >> it's fine. > > Are you sure? I know that this is a common thing for XML parsers to > allow, but I think going strictly by the spec it is not valid. I could be > wrong though, my XML spec-reading patience has long since worn off. > > -Rasmus

« previous php.dev (#83394) next »