Re: Deprecate short_open_tag ini directive?
| From: | Rowan Collins | Date: | Fri, 15 Mar 2019 16:02:52 +0000 |
| Subject: | Re: Deprecate short_open_tag ini directive? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104753@lists.php.net to get a copy of this message | ||
On Fri, 15 Mar 2019 at 15:56, G. P. B. <george.banyard@gmail.com> wrote:
> However, I'm not sure of the behavior if someone sets this behavior within
> a file/class
> does this only affect this specific instance or is it globally?
>
Not all settings can be altered with ini_set; this one is listed at
http://php.net/manual/en/ini.core.php#ini.short-open-tag
as PHP_INI_PERDIR,
which http://php.net/manual/en/configuration.changes.modes.php
describes as:
> Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since
PHP 5.3)
Regards,
--
Rowan Collins
[IMSoP]