> I'm really not enjoying the fact that short_tags is defaulted to on > right now as I'm trying to make all my page work XHTML compliant. This > means that I have to put > > <?xml version="1.0" encoding="iso-8859-1" ?> > > in my pages. This is also a pain when I'm working on pages for WAP > devices. I don't know if anybody else is experiencing this problem, but > I was wondering if there are any thoughts about making short_tags off > by default.
Turning short tags off would break alot of sites, especially when a "fast echo" is used by nature. I would like to see the defaults in PHP remain the way they are for the most part, perhaps change in 5. It's easy to over-ride in php.ini (or perhaps one of the various default ini files [other than php.ini-dist]), .htaccess. Any site relying on the setting of register_globals, short_tags, or any other coding-style setting would be bad (IMHO), without the use of .htaccess files, as you loose your cross-installation platform base. A repeat of the mass hysteria caused by [people not reading about] the register_globals change isnt wanted by anyone, least of all by the people who talk on php-general@ and various other PHP help mediums. I'm -1 on this change. > Additionally, <?php= should work like <?= (IMHO), seems like it makes > sense, and <?= doesn't have anything to do with short_tags being on or > off. It seems like <?php= would make some code more "standardizable". There is more information on this discussion in the archives, but the general con-census was that <?= wasn't a feature intended for such high use, and that its use is somewhat "frowned" upon... although not as much as a goto! However, the gap it fills is noticed and (personally) I wouldnt want it to be withdrawn. With that in mind, any suggestion to enable <?php=, was argued that it would break the standards of <?[language]. [if my memory doesnt serve me as well as I hope it does, please feel free to correct] > Devon -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php