RE: [PHP] is <?= good?
| From: | Daevid Vincent | Date: | Fri, 11 Jun 2010 00:53:56 +0000 |
| Subject: | RE: [PHP] is <?= good? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-306028@lists.php.net to get a copy of this message | ||
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
>