NYCPHP Meetup

NYPHP.org

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

Hans Zaunere hans at nyphp.org
Fri Nov 21 10:08:00 EST 2003



Brian Pang wrote:

> 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 suppose the only advantage is it forces your code to use the long tags, which are generally easier to read.  Also, I recall there were some issues with the short <? in XML documents, but I could be blowing in the wind.

> I mean, why sacrifice the "sexiness" of <?=$var?> ?
> We're programmers, we need all the help we can get! ;)

Yes, sexiness must be preserved.

H





More information about the talk mailing list