On Mon, 5 Jan 2015, Stanislav Malyshev wrote: > > 2) Embedded text sections. It's possible to place the raw PHP code > > into the compiled .so/.dylib/.dll file and fetch it out for > > compilation at runtime. This enables easy bundling of the loaded > > I guess it is possible, but why - what's wrong with plain old files and > phars?
Deployment and installation. Right now, "pecl install extension" doesn't really allow you to also install **and** load a PHP script on every request. Such a PHP script could define extra classes, that are written in PHP - because maintainting them as a C implementation would be way more work. Having users install another set of PHP files for every project is error prone, and frankly, bad for user experience. I can definitely see the use case here, and it's probably something we'd want to use for the new MongoDB driver. cheers, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php