On Tue, May 10, 2016 at 2:51 AM, François Laupretre <franc...@php.net> wrote:
> Hi Derick, > > > Le 09/05/2016 à 20:36, Derick Rethans a écrit : > >> Hi! >> >> I've recently been having some looks at issues between xdebug and >> opcache, and this meant that I need to write a test case for it. >> >> Ages ago I added support for the "--EXTENSIONS--" section in .phpt >> files, to load extensions that the test 'depends' on. Each item would be >> added to the php invocation as a "-dextension=name.so". For opcache >> however, that needs to be "-dzend_extension=opcache.so". >> >> The attached patch checks for opcache in the list of extensions and then >> uses zend_extension=. I'd like to have this in PHP 7.0 and trunk - any >> objections? >> >> cheers, >> Derick >> > > I know there are not so many Zend extensions around, but I would > definitely prefer a 'ZEND_EXTENSIONS' section. > Wouldn't this work by just using --INI-- instead? --INI-- zend_extension=opcache.so greetings Benjamin > > Regards > > François > > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > >