Re: run-tests.php improvement for PHP 7.0+
| From: | François Laupretre | Date: | Tue, 10 May 2016 00:51:50 +0000 |
| Subject: | Re: run-tests.php improvement for PHP 7.0+ | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93133@lists.php.net to get a copy of this message | ||
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, DerickI know there are not so many Zend extensions around, but I would definitely prefer a 'ZEND_EXTENSIONS' section. Regards François