Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93131 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 9102 invoked from network); 9 May 2016 19:22:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 May 2016 19:22:24 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:47296] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/64-10422-A63E0375 for ; Mon, 09 May 2016 15:22:20 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id A0C79782A16; Mon, 9 May 2016 21:22:14 +0200 (CEST) Received: from w530phpdev (p579F33ED.dip0.t-ipconnect.de [87.159.51.237]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id 880707829A4; Mon, 9 May 2016 21:22:09 +0200 (CEST) Sender: "Anatol Belski" To: "'Derick Rethans'" , "'PHP Developers Mailing List'" References: In-Reply-To: Date: Mon, 9 May 2016 21:22:05 +0200 Message-ID: <001a01d1aa28$158952f0$409bf8d0$@php.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQIMYAEnbADxI+89oqlYIOWtbwDQT587jfaQ Content-Language: en-us Subject: RE: [PHP-DEV] run-tests.php improvement for PHP 7.0+ From: ab@php.net ("Anatol Belski") Hi Derick, > -----Original Message----- > From: Derick Rethans [mailto:derick@php.net] > Sent: Monday, May 9, 2016 8:36 PM > To: PHP Developers Mailing List > Cc: Anatol Belski > 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