On Tue, 6 Jan 2015, Stanislav Malyshev wrote: > > But, if we consider the PHP code as an integral part of the > > extension, this should be avoided, as C and PHP code need to be kept > > in sync. > > Again, there is a multitude of solutions for this, all in the realm of > packaging. It's not like we've just encountered the idea of software > package having more than one file.
There is currently no way to install an extension and a PHP library package at the same time. "pecl" can't install PHP libraries, and "composer" can't install extensions. And even if it did, keeping the versions in sync is not easy at all. Only way to solve this properly is to allow PHP code embeded in the extension. Just like the couchdb ext does, or Benjamin wants to do with the qafooprofiler, or HHVM does it through HNI. cheers, Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php