Req #68060 [Wfx]: Always allows short open tags

From: Date: Sat, 20 Sep 2014 10:39:35 +0000
Subject: Req #68060 [Wfx]: Always allows short open tags
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187620@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=68060&edit=1 ID: 68060 Updated by: nikic@php.net Reported by: abdallah at gmx dot com Summary: Always allows short open tags Status: Wont fix Type: Feature/Change Request Package: Scripting Engine problem Operating System: All PHP Version: 5.6.1RC1 Block user comment: N Private report: N New Comment: <? is incompatible with XML declarations, which is why short_tags is disabled by default and its use discouraged. Previous Comments: ------------------------------------------------------------------------ [2014-09-20 08:53:51] abdallah at gmx dot com All types of short open tags should be available and not disablable, please. Also the simple : <?php to <? ------------------------------------------------------------------------ [2014-09-19 23:15:14] requinix@php.net Short open echo tags <?= are always available as of PHP 5.4. http://php.net/manual/en/ini.core.php#ini.short-open-tag ------------------------------------------------------------------------ [2014-09-19 22:29:06] abdallah at gmx dot com Description: ------------ We would like to provide cleaner websites and also distributables. A lot of web hosting companies does not have short_open_tags enabled so we always have to release old school source codes inside templates <?php echo $foo; ?> I think the short_open_tag option should be enabled in all cases and simply NOT disabl-able ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=68060&edit=1

« previous php.bugs (#187620) next »