Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74427 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 60385 invoked from network); 22 May 2014 08:18:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2014 08:18:58 -0000 Authentication-Results: pb1.pair.com header.from=nicolai.scheer@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nicolai.scheer@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.47 as permitted sender) X-PHP-List-Original-Sender: nicolai.scheer@gmail.com X-Host-Fingerprint: 209.85.213.47 mail-yh0-f47.google.com Received: from [209.85.213.47] ([209.85.213.47:48825] helo=mail-yh0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/80-53871-1F2BD735 for ; Thu, 22 May 2014 04:18:57 -0400 Received: by mail-yh0-f47.google.com with SMTP id z6so2668856yhz.34 for ; Thu, 22 May 2014 01:18:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pMc+DTCRs6npV/HVy+z1Lw69grXtajKnE7lWWgxc6ys=; b=RnER6mhE5CpMZZHtQRBuY/+qtMM/PLZolMVcO/lDXPzCABv6LFJBV1d0gYQvB5KCv9 eR1r3x1k8NbBXAD+Qt4g2LmsREF3e9uwHWvKOp3aG1YVqoECnF7hwVRhmPTZThhEosSj v6wxBWXVRo2sjXeGiQZY3yyRLEHjf7/c9HYyFjaYiqmSDNB/DY9+pYmJwomR5y7bj2la DGa0fPMRJxxGvK8uuEr+3QvsHcBfSqD1+97gEerR1e4puuiJF9XF8c0T/XQ7DaLpyGEj T85XCtU4gBcqj/87hIFyaOJiLSiUpqbOG2DhlQnP/Pc2Zsoa+ETdmUhCcr5GP2R4up41 RlgQ== MIME-Version: 1.0 X-Received: by 10.236.74.33 with SMTP id w21mr29622295yhd.87.1400746734641; Thu, 22 May 2014 01:18:54 -0700 (PDT) Received: by 10.170.88.215 with HTTP; Thu, 22 May 2014 01:18:54 -0700 (PDT) In-Reply-To: <537DA928.7030004@beccati.com> References: <6048BA05-CC13-46DD-8439-9CB4EE29078B@ajf.me> <9EBA95A7-B9F7-41F0-AE2B-283260753E5A@googlemail.com> <537CBD67.4000008@lerdorf.com> <478E3B2F-BCEA-4D31-AFF0-7AB07C86A6A0@ajf.me> <1400711109.2870.7029.camel@guybrush> <537DA928.7030004@beccati.com> Date: Thu, 22 May 2014 10:18:54 +0200 Message-ID: To: Matteo Beccati Cc: =?UTF-8?Q?Johannes_Schl=C3=BCter?= , Andrey Andreev , Andrea Faulds , Rasmus Lerdorf , Kevin Ingwersen , PHP Internals Content-Type: multipart/alternative; boundary=20cf30050c7289ea0a04f9f8c3e0 Subject: Re: [PHP-DEV] encode php scripts with opcache compatibility From: nicolai.scheer@gmail.com (Nicolai Scheer) --20cf30050c7289ea0a04f9f8c3e0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi! On 22 May 2014 09:37, Matteo Beccati wrote: > On 22/05/2014 00:25, Johannes Schl=C3=BCter wrote: > > The third conmercial one (next to Zend and ioncube) is > > http://www.camouflage-encoder.com/ which promises "guaranteed support > > for new PHP versions within 3 months" and "full support for PHP 5.3 and > > PHP 5.4" (both quotes from the mentioned page) > > Given I've seen a few commercial products listed already, I feel > compelled as a long time customer to also remind you about Sourceguardian= . > > IIRC one of the first alternatives the the early Zend Encoder on the > market. > > It works for me and it's 5.5 compatible, although I don't know exactly > what is its current behaviour with opcode caches. I've asked if they can > shed a light. > > > Cheers > -- > Matteo Beccati > > Sourceguardian "works" with opcache, but not the way it is supposed to. SourcGuardian encoded scripts essentially consist just of a function call to sg_load() which takes the encrypted script as a parameter. Therefor, the script itself gets cached by opcache but since the decryption process and class loading ist just a function call, there's not the speed improvement I need. Greetings Nico --20cf30050c7289ea0a04f9f8c3e0--