Re: Quick questions <?=something?>
| From: | Ryan A | Date: | Mon, 06 Dec 2004 14:32:47 +0000 |
| Subject: | Re: Quick questions <?=something?> | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-203585@lists.php.net to get a copy of this message | ||
> <?= $string ?>
> means the same as
> <?php echo $string ?>
> if short_open_tag is on
******
> It's perfectly valid PHP, I use it all the time on my own sites, but
> because it's
> one of those php.ini settings you have a 50/50 chance of
> finding on (or off!) you shouldn't rely on it unless you know the
> environment.
Hey all,
Thanks guys, I didnt know about any "short_open_tag" setting,
I guess I'll just stick to my regular style coz i have no idea how the
client/s php is setup plus if I move my own stuff to a different host it may
not be so kind...
Perfect answer to my Q, thanks!
Cheers,
Ryan
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.289 / Virus Database: 265.4.5 - Release Date: 12/3/2004