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

From: Date: Fri, 26 Apr 2002 19:48:54 +0000
Subject: Re: <?= and <%= both work, why not <?php=
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-83397@lists.php.net to get a copy of this message
Just read that myself at w3c.org. I hate the format of their recommendations, god. It takes forever for me to find anything specific in their specs. J derick@php.net wrote: > From: http://www.w3.org/TR/2000/REC-xml-20001006#sec-pi > > [16] PI ::= '<?' PITarget (S (Char* - (Char* '?>' Char*)))? > '?>' > [17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') > ('L' | 'l')) > > [3] S ::= (#x20 | #x9 | #xD | #xA)+ > [2] Char ::= #x9 | #xA | #xD | [#x20-#xD7FF] | [#xE000-#xFFFD] | > [[#x10000-#x10FFFF] > > Meaning that between <?php and ?> everytning is allowed but '?>'. > > Derick > > On Fri, 26 Apr 2002, J Smith wrote: > >> Are you positive about that? I would have assumed so, too, but it passes >> both the Sablotron and Xerces XML processors without so much as a >> warning. >> >> J

« previous php.dev (#83397) next »