Allow loading extensions by name
| From: | François Laupretre | Date: | Thu, 28 Jan 2016 20:20:52 +0000 |
| Subject: | Allow loading extensions by name | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-91001@lists.php.net to get a copy of this message | ||
Hi,
Can you please give your thoughts about a PR I just created :
https://github.com/php/php-src/pull/1741
Loading extensions by name (instead of file name) provides a portable way of specifying extensions in an INI file. Example :
extension=bz2
zend_extension=xdebug
This will be converted to the right file name, depending on the platform. Of course, current configurations using filenames remain supported (no BC break), but the recommended way of specifying additional extensions in an INI file becomes 'by name' (See example php.ini files).
If I get positive returns, I'll write an RFC targeting 7.1.
Regards
François