Re: Deprecation ideas for PHP 8
| From: | Girgias | Date: | Tue, 22 Jan 2019 22:07:57 +0000 |
| Subject: | Re: Deprecation ideas for PHP 8 | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-103785@lists.php.net to get a copy of this message | ||
On Tue, 22 Jan 2019 at 22:52, Yasuo Ohgaki <yohgaki@ohgaki.net> wrote:
> Hi Girgias
>
> It seems good list in general.
> There would not be issues marking them as deprecated.
> "Deprecation" means "Soft deprecation", correct?
>
> Removing these aliases from PHP 8 is not good idea.
> Aliases should be removed when nobody cares about these aliases.
>
> For example, pg_loopen()/etc were there until nobody cares about these
> aliases.
> New names, pg_lo_open()/etc, were given in PHP4.x. These changes were
> documented since PHP 4.x.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net
>
Hello Yasuo Ohgaki.
By Deprecation, I was indeed meaning that as of PHP 8 these function should
throw
E_DEPRECATED errors and be removed as of PHP 9 which would give plenty of
time
for people to adapt and upgrade their codebase.
Best regards
George P. Banyard