Re: Linking and autoloading of dependent extensions
| From: | Hannes Magnusson | Date: | Tue, 27 May 2014 17:36:42 +0000 |
| Subject: | Re: Linking and autoloading of dependent extensions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74534@lists.php.net to get a copy of this message | ||
On Tue, May 27, 2014 at 5:13 AM, Michael Wallner <mike@php.net> wrote:
> Hi,
>
> I've prepared a tiny POC which enables linking and autoloading of
> dependent extensions:
> https://github.com/m6w6/php-src/compare/module_deps
>
> Anybody else other than me interested in this feature?
>
I'm assuming the idea here is to fix the chicken and egg problem of
loading pdo_mysql before pdo? or mysqlnd before mysqli? and whatever
extensions that depend on ext/json...
Big +1 from me.
But I think the extension system needs more overhaul then just this.
We need to think about the next 10 years. pecl is clearly not a tool
that can tackle the next decade of PHP.
And why oh why do we have almost 80 extensions bundled with php?
There are plenty of pecl extensions that are used by gazillion more
people then half of them.
http://bjori.blogspot.com/2014/05/i-have-dream.html
Should we try to work on new system for PHPNG?
Something that could also be more friendly to things like composer? :]
-Hannes