Newbie question about <?= ?>
| From: | Mike Borrelli | Date: | Sat, 09 Sep 2006 13:19:25 +0000 |
| Subject: | Newbie question about <?= ?> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-241524@lists.php.net to get a copy of this message | ||
Good day,
While I've been using php for more than a little while now, I've never
understood why the use of the "<?= ...?>" short tag is noted "to be
avoided".
Or rather, I understand that there's an option to disable it, and that's
why it's noted in this way, but I don't understand why it's disabled?
What's gained by writing <?php echo some_function(); ?> over <?=
some_function(); ?>
Thanks in advance.
Cheers,
Mike