Re: is <?= good?

From: Date: Fri, 11 Jun 2010 02:51:08 +0000
Subject: Re: is <?= good?
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-306033@lists.php.net to get a copy of this message
On Jun 10, 2010, at 8:53 PM, Daevid Vincent wrote:
I use them ALL the time. MUCH cleaner IMHO than the alternatives. And *IF* someday it is ever depricated, it's trival to: s/<?=/<? echo/g Don't let 'em scare ya!
-----Original Message----- From: Ahmed Mohsen [mailto:mrez05@gmail.com] Sent: Thursday, June 10, 2010 3:35 PM To: php-general@lists.php.net Subject: [PHP] is <?= good? I know that i should use the full open tag in php <?php ?> but i want to know if its good to use this tag <?=$name?> instead of <?php echo $name ?> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
I have to agree that <?= is much cleaner and I use them all the time as well. Take care, Floyd

« previous php.general (#306033) next »