Den man. 9. jul. 2018 kl. 21.22 skrev David Zuelke <dzue...@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 ka...@php.net -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php