Re: [RFC] Deprecations for PHP 7.3

From: Date: Mon, 09 Jul 2018 19:21:50 +0000
Subject: Re: [RFC] Deprecations for PHP 7.3
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-102676@lists.php.net to get a copy of this message
On Tue, Jun 26, 2018 at 6:32 PM Kalle Sommer Nielsen <kalle@php.net> wrote: > > Hi > > Den søn. 24. jun. 2018 kl. 18.47 skrev Nikita Popov <nikita.ppv@gmail.com>: > > If you have a minor deprecation in mind, but were too lazy to write an RFC > > for it, please write me a mail until tomorrow, so that it might be included > > as part of this proposal. As time is limited I don't want to include > > anything larger or controversial in this RFC though. > > As suggested in the past, I would like to add the following to this > list (if its not too late): > > - The (real) type-cast and its function, is_real(). There doesn't > seem to be any support for reals in settype() anyway (side note: in > the implementation of settype() it claims "double" is deprecated) > - Function variants that already exists as constants, php_sapi_name() > > PHP_SAPI, pi() > M_PI, phpversion() > PHP_VERSION etc Keep in mind you can do phpversion("extensionname"), so that function at least can't be removed, as the constant doesn't provide the same functionality. David

« previous php.internals (#102676) next »