Re: [RFC] Deprecations for PHP 8.5
| From: | Derick Rethans | Date: | Mon, 14 Jul 2025 10:36:20 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 8.5 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-128030@lists.php.net to get a copy of this message | ||
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.
> > Deprecate the error_prepend_string and error_append_string INI
> > directives
>
> I think it doesn't have a good enough reason to be deprecated and
> might be still used. I don't see any problem with keeping them.
+1
cheers,
Derick