Re: [RFC] Deprecations for PHP 8.5
| From: | Larry Garfield | Date: | Mon, 14 Jul 2025 13:29:31 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128037@lists.php.net to get a copy of this message | ||
On Mon, Jul 14, 2025, at 5:36 AM, Derick Rethans wrote:
> On Thu, 3 Jul 2025, Jakub Zelenka wrote:
>
>> On Wed, Jul 2, 2025 at 10:00 PM Gina P. Banyard <internals@gpb.moe> wrote:
>>
>> > It is this time of year again where we proposed a list of
>> > deprecations to add in PHP 8.5:
>> >
>> > https://wiki.php.net/rfc/deprecations_php_8_5
>>
>> Here are few notes on the ones that I don't agree with:
>>
>> > Deprecate backticks as an alias for shell_exec
>>
>> I think this might be too big BC break that might impact many scripts
>> - would be good to see also if it impacts OSS projects. I guess it
>> will impact even more non public code bases.
>
> Indeed, I use this *all the time* in quick hacky shell scripts in PHP.
> Best practise? Definitely not. But it certainly is very useful.
Is their use for quick hacky scripts worth the cost of reserving a symbol that could be repurposed
for something else more generally useful in the future? (Not immediately of course, but
eventually.)
--Larry Garfield