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

From: Date: Fri, 26 Apr 2002 17:32:20 +0000
Subject: Re: <?= and <%= both work, why not <?php=
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-83383@lists.php.net to get a copy of this message
Why are short tags (<? ?> and <% %>) such a bad thing? Why does the PHP formatting (tags) matter in terms of SGML & XML? Not that it matters, but personally I prefer to use the short tags <? and ?> because it's less code for me to write, it fits nicely into my HTML, and I find <?= much easier to read than <?php echo. I honestly don't really care for <?php= , although I do understand the reasoning behind it and agree with the consistency argument for it. - Gabriel

« previous php.dev (#83383) next »