Re: Deprecate short_open_tag ini directive? PHP internals <internals@lists.php.net>
| From: | Kenneth Ellis McCall | Date: | Sat, 16 Mar 2019 02:44:14 +0000 |
| Subject: | Re: Deprecate short_open_tag ini directive? PHP internals <internals@lists.php.net> | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104763@lists.php.net to get a copy of this message | ||
G. P. B. wrote:
currently going through the PHP doc to remove mentions of PHP 4 and stumbled upon the short_open_tag ini directive [1] which only affects the availability ofI would like to see that. "Question mark equals what?". If you want to go further, dropping the PHP tag altogether would be nice, since it would prevent context switching between PHP/HTML/JS/whatever. That would force Wordpress to update their whole code base. >:{)><?tags as<?=is always available as of PHP 5.4. From my understanding, the<?tag is not available without the directive, so maybe we should deprecate PHP's short tag altogether?