Re: run-tests.php improvement for PHP 7.0+
| From: | Benjamin Eberlei | Date: | Tue, 10 May 2016 04:07:56 +0000 |
| Subject: | Re: run-tests.php improvement for PHP 7.0+ | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93137@lists.php.net to get a copy of this message | ||
On Tue, May 10, 2016 at 2:51 AM, François Laupretre <francois@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
>
>