Re: Deprecate short_open_tag ini directive?
| From: | G. P. B. | Date: | Fri, 15 Mar 2019 16:05:45 +0000 |
| Subject: | Re: Deprecate short_open_tag ini directive? | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104754@lists.php.net to get a copy of this message | ||
On Fri, 15 Mar 2019 at 17:03, Rowan Collins <rowan.collins@gmail.com> wrote:
> 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]
>
Huh didn't know about this behavior, thanks for pointing it out.
Best regards
George P. Banyard