From:             phpbugs at localpin dot com
Operating system: Windows XP
PHP version:      Irrelevant
PHP Bug Type:     Documentation problem
Bug description:  short_open_tag change of default to "off" should be explained 
in "install.txt"

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 bug report at http://bugs.php.net/?id=37068&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=37068&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=37068&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=37068&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=37068&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=37068&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=37068&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=37068&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=37068&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=37068&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=37068&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=37068&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=37068&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=37068&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=37068&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=37068&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=37068&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=37068&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=37068&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=37068&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=37068&r=mysqlcfg

Reply via email to