[mythtv] [PATCH] Mythweb - Replaces short PHP open tags with long

Mikael Magnusson mikaelmagnusson at tjohoo.se
Mon Dec 29 17:09:59 EST 2003


I have made a patch that replaces all occurrences of the short form of PHP's
open tag with the long form, since short tags should be avoided according to 
[1] and interferes with XML "<?xml ...?>".

"Note:  Using short tags should be avoided when developing applications
or libraries that are meant for redistribution, or deployment on PHP
servers which are not under your control, because short tags may not be
supported on the target server. For portable, redistributable code, be
sure not to use short tags."

[1] http://php.net/language.basic-syntax

Regards,
Mikael Magnusson

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mythweb-tag-cvs20031226.diff.gz
Type: application/octet-stream
Size: 9968 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20031229/dc0b92ef/mythweb-tag-cvs20031226.diff.obj


More information about the mythtv-dev mailing list