On Wed, 2002-05-15 at 13:31, Matthew Walker wrote: > I'm writing a coding standards document for our programmers, and I need > to know if the 'echo' shortcut PHP tags are always on, or if we need to > assume they might not be on. > > (By echo shortcut, I mean this syntax: <?=$variable?>)
The only guaranteed acceptable open tags are <?php and <script language="php">. If you expect that your code may ever run on a server where you don't control php.ini, you should definitely mandate that short_open_tag = off when developing. BTW--no offense, but this is explained at some length in the manual: http://www.php.net/manual/en/language.basic-syntax.php > Matthew Walker > Senior Software Engineer > ePliant Marketing -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php