Re: is <?= good?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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@xxxxxxxxx]
Sent: Thursday, June 10, 2010 3:35 PM
To: php-general@xxxxxxxxxxxxx
Subject:  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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux