Re: [RFC] Deprecations for PHP 7.3
| From: | Kalle Sommer Nielsen | Date: | Mon, 09 Jul 2018 19:27:21 +0000 |
| Subject: | Re: [RFC] Deprecations for PHP 7.3 | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-102677@lists.php.net to get a copy of this message | ||
Den man. 9. jul. 2018 kl. 21.22 skrev David Zuelke <dzuelke@salesforce.com>:
> 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.
Sure, but almost all of the core extensions return PHP_VERSION anyway
(thanks to Peter K.) and the information is still available with echo
(new ReflectionExtension('extensionname'))->getVersion(); and I doubt
there is a massive usage so the impact is very minimal and therefore I
believe its a fair compromise.
--
regards,
Kalle Sommer Nielsen
kalle@php.net