NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHundamentals Topic #4: php.ini settings

Hans Zaunere hans at nyphp.org
Thu Nov 20 16:58:48 EST 2003



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




More information about the talk mailing list