[nycphp-talk] PHundamentals Topic #4: php.ini settings
Brian Pang
bpang at bpang.com
Thu Nov 20 17:28:03 EST 2003
what reason other than portability ease (moving from server1 with
short_open_tags=on => server2 with short_open_tags=off) is there for
having short_open_tags=on??
I mean, why sacrifice the "sexiness" of <?=$var?> ?
We're programmers, we need all the help we can get! ;)
>
>
> John Lacey wrote:
> > It is best to code with the short_open tags set to "Off", and use <?php
> > in all cases, but again, if using someone else's code, they may have to
> > remain on. This option will be defaulted to "Off" in a future release,
> > I believe.
>
> This one slipped past my previous post. I agree that always using
long opening tags are the way to go, but turning this to off prevents
sexiness like this:
>
> <li><?=$somevar?></li>
>
> One of the conundrums of php I guess :)
>
> H
>
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk
>
>
More information about the talk
mailing list