Are PECL modules preferable?
| From: | Mike Schinkel | Date: | Sat, 21 Mar 2020 22:52:49 +0000 |
| Subject: | Are PECL modules preferable? | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-109193@lists.php.net to get a copy of this message | ||
> On Mar 21, 2020, at 5:59 PM, tyson andre <tysonandre775@hotmail.com> wrote:
> FROM: Re: [PHP-DEV] [RFC] is_literal()
>
> And if it can be implemented as a PECL module, that would be more preferable to me than a core
> module of php.
> If it was in core, having to support that feature may limit optimizations or implementation
> changes that could be done in the future.
Just wanted to address this comment which was made on another thread (I did not want to hijack that
thread.)
A large number of PHP users have no control over the platform they run on, so the option to use PECL
modules is a non-starter for them.
Here are several of those managed hosting platforms I speak of. Collectively they host a large
number of WordPress sites, and Pantheon also host Drupal sites:
https://pagely.com/
https://wpvip.com/
https://wpengine.com/
https://kinsta.com/
https://pantheon.io/
Given that, if there is an option between a useful feature being added to core or left in PECL, I
would vote 100% of the time for core, since working with WordPress on a corporate site I can rarely
ever use PECL extensions.
#fwiw
-Mike