Re: Deprecate short_open_tag ini directive?
| From: | G. P. B. | Date: | Fri, 15 Mar 2019 15:56:05 +0000 |
| Subject: | Re: Deprecate short_open_tag ini directive? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-104752@lists.php.net to get a copy of this message | ||
Just gonna do general reply instead of pointing at specific points.
But as it has been pointed out using short tags makes the code less
portable,
which IMO isn't ideal.
I personally don't tinker with INI settings withing PHP with
ini_set as
IMHO if you
need to change them it should be done in the php.ini file.
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?
Because if it is globally I can see code that writes/uses XML be affected
as pointed
out by Johannes
As it seems that there are people for and against; I suppose I could write
an RFC
for this, but would need the karma to do so.
Best regards
George P. Banyard