Short tag: why is it bad practice?

From: Date: Tue, 10 May 2011 15:11:32 +0000
Subject: Short tag: why is it bad practice?
Groups: php.general 
Request: Send a blank email to php-general+get-312744@lists.php.net to get a copy of this message
Hi everyone, Many times I heard that the following two peaces of code are written in a bad manner: 1. <? echo "Hello, world!"; ?> 2. <form action="script.php" method="post"> <p>Your e-mail: <input type="text" id="uemail" name="uemail" value="<?=$f['Email']?>"></p> ... </form> As for now, I use both quite often. Why is this considered not kosher, I mean, good coding practice? Thanks! -- With best regards from Ukraine, Andre Skype: Francophile Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion

« previous php.general (#312744) next »