Re: short_open_tag

From: Date: Fri, 21 Mar 2008 21:22:43 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7 8 9 10 11 12 13  Groups: php.internals 
Request: Send a blank email to internals+get-36291@lists.php.net to get a copy of this message
Hello Stanislav, Friday, March 21, 2008, 10:11:24 PM, you wrote: > Hi! >> since when can I not verify that my general HTML/XHTML structure is valid? > The question is since when PHP code has any XML structure? >> This is especially valid in template systems as you mentioned earlier. > OK, so you are verifying templates. Great. Obviously, if you use XML > templates (with PHP being Web language, this is rather unusual use case, > but OK), you are not using short tags, so it's OK. However, for people > having HTML templates, it still would be OK to verify them with HTML > tools unless you have tools that OK with <?php but can't support <?=. > Are there such tools? <?php is a valid PI. <?= is not This was discussed several times already and Pierre put you directly onto its definition. What more can we say? I think we have a valid technical argument here, where you seem to simply wanting to save a few key strokes. Best regards, Marcus

« previous php.internals (#36291) next »