Re: Is there a technical reason <?= considered a "short tag"?

From: Date: Fri, 05 Jun 2009 07:43:11 +0000
Subject: Re: Is there a technical reason <?= considered a "short tag"?
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to internals+get-44174@lists.php.net to get a copy of this message
On Fri, Jun 5, 2009 at 07:47, Rasmus Lerdorf<rasmus@lerdorf.com> wrote: > Nobody is going to pass a PHP script through an XML parser, and PHP > itself will never be well-formed, so that is a lost cause.  We'd have to > start tossing CDATA blocks and write code like: > >  if( 2 &lt; 3 ) echo "2 is less than 3"; No you don't. & and < are perfectly legal in PIs > And that just isn't going to happen.  The only valid argument against > short_tags itself is that it clashes with named PI tags and <?= does not > have that same problem. <?= is not a valid target name either, so it has the same problem. 4] NameStartChar ::= ":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF] -Hannes

« previous php.internals (#44174) next »