ID: 37068
Updated by: [EMAIL PROTECTED]
-Summary: short_open_tag change of default to "off" should be
explained in "install.txt"
Reported By: phpbugs at localpin dot com
Status: Open
Bug Type: Documentation problem
Operating System: Windows XP
PHP Version: Irrelevant
New Comment:
The default is still "On" in PHP 5.1.x, but, an issue still exists and
is as follows:
While php.ini-dist has it on in 5.1.x, the php.ini-recommended has it
off. This change is not documented on top of php.ini-recommended like
the other changes, but should be.
So, this bug should instead deal with adding this documentation to
php.ini-recommended.
Previous Comments:
------------------------------------------------------------------------
[2006-04-13 10:37:59] phpbugs at localpin dot com
Description:
------------
In PHP 5.0.4 the default for short_open_tag was on, but in 5.1.2 the
default is off. This is highly confusing, till they figure out what
the cause is, for those people (like me) who upgrade and half their PHP
files work (the one's written by some people), and half their PHP files
don't work (the one's written by some other people).
I have just upgraded from php 5.0.4 to 5.1.2 and have lost a large
amount of time figuring out that this was why my PHP only partially
worked.
I would suggest that this be put very plainly in the PHP "install.txt",
that this is now the new default, and that "<? " will no longer work as
an opening delimiter, but it must now be "<?php" OR (not-recommended)
that the new default of "off" be set back to "on".
Hoping that this documentation change will spare others the same pain I
experienced! Thanks!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37068&edit=1