Re: Option to enable echo tags when short tags are turned off
| From: | Stas Malyshev | Date: | Mon, 15 Nov 2010 02:49:52 +0000 |
| Subject: | Re: Option to enable echo tags when short tags are turned off | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-50197@lists.php.net to get a copy of this message | ||
Hi!
The problem with<?= is that more often that not, you need to run the text through htmlentities or similar, so it would be of very limited usefulness even if it could be relied on (i.e. it always worked).So, you say <?= is not useful in certain cases. I agree. There are plenty of cases where it *is* useful and since restricting it obviously did nothing to discourage its use and only added annoyance to the life of average php programmer, I'd say let's get rid of that annoyance. I see benefits, I see no cost, the case seems obvious. Anybody can make a case for not fixing <?= in 5.4 to finally work regardless of ini settings? -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227