Re: [RFC] Deprecate Backtick Operator (V2)
| From: | Stanislav Malyshev | Date: | Tue, 08 Oct 2019 18:10:57 +0000 |
| Subject: | Re: [RFC] Deprecate Backtick Operator (V2) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-107423@lists.php.net to get a copy of this message | ||
Hi!
> When evaluating the _unique_ cost of migrating legacy code, it should be balanced with the
> _continual_ cost of keeping the feature. That includes:
>
> * People wondering what that strange syntax does, or, worse, mistaking it with a variation of
> string literal.
> * Difficulty to search occurrences of
shell_exec.
> * People trying to deactivate functions executing external programs (such as
> shell_exec) using the "disable_function" ini directive,
> wondering how to deactivate the backtick operator (since there is no
> disable_operator directive).
These are not costs, since "people wondering" does not cost anybody
anything. People are free to wonder about anything, it's not a cost on
existing users on PHP. If those people are interested in learning
something, they'd read the manual and know. If they don't, they can keep
wondering, it's not an argument for anything.
--
Stas Malyshev
smalyshev@gmail.com