Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:84237 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30764 invoked from network); 3 Mar 2015 14:44:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2015 14:44:29 -0000 Authentication-Results: pb1.pair.com header.from=julienpauli@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=julienpauli@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.43 as permitted sender) X-PHP-List-Original-Sender: julienpauli@gmail.com X-Host-Fingerprint: 74.125.82.43 mail-wg0-f43.google.com Received: from [74.125.82.43] ([74.125.82.43:35456] helo=mail-wg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/3B-03783-CC8C5F45 for ; Tue, 03 Mar 2015 09:44:29 -0500 Received: by wggz12 with SMTP id z12so40546788wgg.2 for ; Tue, 03 Mar 2015 06:44:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=iSBMNrDtHVCLjt3y4P09d/YLjw0XV9a8eXMEl9+k+ww=; b=INr9lIsAZXlIUuz2ZLfRBISn1524KpPXYFAr3Q1CODR7vQyQfNYtN1/ofNL+xSk2F9 R9wSywJSE0eyqv6MsA480yKujvGUE8UoCh38E1GyRyuJotDHnXX9bnpAEeGPsr/AoqUv ACX398R6zqBggE3gMinn8tOBdSPQG2iFgtP6mMtwZou0iqU/jzNdU3cLmVyV67+00v7/ mCupAhxvrHNQUvpBS8c4i1vKgeTNbe603SPrqHgGXOloraMQx2pgpUKzZqeOvMMIiYmG HZGItPIC0ABY0vRMcH4T3bJlizN2YPwSrv1P9fwZWnDZTsZGyDggT2Jf3Umh4p1Li+GJ IW0A== X-Received: by 10.180.198.19 with SMTP id iy19mr46481592wic.8.1425393865499; Tue, 03 Mar 2015 06:44:25 -0800 (PST) MIME-Version: 1.0 Sender: julienpauli@gmail.com Received: by 10.194.198.210 with HTTP; Tue, 3 Mar 2015 06:43:45 -0800 (PST) In-Reply-To: <246f14640403edad07e8d595fd357286@mail.gmail.com> References: <246f14640403edad07e8d595fd357286@mail.gmail.com> Date: Tue, 3 Mar 2015 15:43:45 +0100 X-Google-Sender-Auth: m137-zyj8EY-OBQaJwM4PnpH1QY Message-ID: To: Zeev Suraski Cc: PHP internals Content-Type: multipart/alternative; boundary=047d7b6226e204abca0510635fcd Subject: Re: [PHP-DEV] Re: About optimization for compiler From: jpauli@php.net (Julien Pauli) --047d7b6226e204abca0510635fcd Content-Type: text/plain; charset=UTF-8 On Tue, Mar 3, 2015 at 2:52 PM, Zeev Suraski wrote: > > -----Original Message----- > > From: julienpauli@gmail.com [mailto:julienpauli@gmail.com] On Behalf Of > > Julien Pauli > > Sent: Monday, March 02, 2015 9:07 PM > > To: Dmitry Stogov > > Cc: Bob Weinand; Xinchen Hui; PHP Internals > > Subject: Re: [PHP-DEV] Re: About optimization for compiler > > > > As OPCache is nowadays not compatible at all with PHP7 (development has > > not started yet, or I'm not aware of it) , why not merge OPCache to PHP7 > > source tree (when the time for this will come), still as an extension at > > first > > time, and keep developing optimizer passes into this (aka : not in Zend/) > > ? > > It's a bit OT, but can you explain what you mean here? OPcache works with > the current master (PHP 7), and actually, OPcache worked with phpng all > along and definitely since it was merged into master... It's been > integrated to the php-src tree since it became standard in 5.5. Do you > mean > the standalone github repos for older versions? > I'm looking at https://github.com/zendtech/ZendOptimizerPlus , I cant find anything related to PHP7 for OPCache. So I was thinking OPCache was not compatible yet with PHP7. > > > I'm also +1 to keep our optimizations into OPCache (into an extension), > > I'm slightly confused - you mean keep it in (or move optimization over to) > the OPcache extension, or move it into its own extension? > If it's the former, then I agree. Optimization passes and opcode caching > are very much linked, as performing optimizations without having an opcode > cache rarely makes sense. > I agree with that as well, just Anthony gave a different opinion which seems right as well. Julien.P --047d7b6226e204abca0510635fcd--