Hi Derick,
> -----Original Message-----
> From: Derick Rethans [mailto:derick@php.net]
> Sent: Monday, May 9, 2016 8:36 PM
> To: PHP Developers Mailing List <internals@lists.php.net>
> Cc: Anatol Belski <ab@php.net>
> Subject: [PHP-DEV] run-tests.php improvement for PHP 7.0+
>
> 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?
>
IMHO fine for 7.0. Not that much zend_extension's do exist, so hardcoding
some is simpler than adding yet another section.
Regards
Anatol