Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74420 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24763 invoked from network); 21 May 2014 21:39:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 May 2014 21:39:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=narf@devilix.net; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=narf@devilix.net; sender-id=pass Received-SPF: pass (pb1.pair.com: domain devilix.net designates 209.85.215.50 as permitted sender) X-PHP-List-Original-Sender: narf@devilix.net X-Host-Fingerprint: 209.85.215.50 mail-la0-f50.google.com Received: from [209.85.215.50] ([209.85.215.50:57293] helo=mail-la0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 97/C2-00924-A2D1D735 for ; Wed, 21 May 2014 17:39:55 -0400 Received: by mail-la0-f50.google.com with SMTP id b8so2036906lan.9 for ; Wed, 21 May 2014 14:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=devilix.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=CEOHfKuTo9F42RG8V5/o9ZGJmJZIVQ2Ewsq1z/4p8Jk=; b=SabKToPeVkAWotokcj9bg+KVXmDbtdkkv1zsSLZQPy2tXn1qj0vsNItLk1KvEsc+6S 4Ha8K+OICm9DF67/MR3evsGiE9vogbfEzMSuiFIVgO+XvAWav7v2XF0ZWLqcBDTAsn8P p35KH9q3gSIdMNNtdGly1+QsULUqR0slZ2mFY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=CEOHfKuTo9F42RG8V5/o9ZGJmJZIVQ2Ewsq1z/4p8Jk=; b=ZjFdKozMW90O5dTxvqZsF2C4nPpNOQXUejXGrpsNGWFM/PFAebHB+hPaqAwUnbbfzm Lxrm3l6yzs+GTRaxhGZYlR+TvdxK05ZJKVZN5NfGa/8sjfuDULL4WhEdCJbzv5Y68PwM oWBT6yeGphXbexPnmbKdSvLvkn22yewORRRwqAYOQXeCYhtSriR+00DGViOZ5ArXs50d u46xBkGjFXuXaLfnALMx/yNtBnUe71xRhDdlrhVu57gOKb1jHFBVnE/zTv/HPAgOSujx 0xLIHcb8apPjZEU+FFwfe9yDHaLaptIgLJDSuNzcNmHphZdbta8ap/QGj2yLpfZA20dH JEuw== X-Gm-Message-State: ALoCoQmRHnsYp/VlRiGRanzjmPDh+jTKdibsCRas0neP7p7FXWdwAcnI1BX3s6CrT200gyxORoAZ MIME-Version: 1.0 X-Received: by 10.152.26.168 with SMTP id m8mr5032278lag.65.1400708391367; Wed, 21 May 2014 14:39:51 -0700 (PDT) Received: by 10.152.115.142 with HTTP; Wed, 21 May 2014 14:39:51 -0700 (PDT) In-Reply-To: <478E3B2F-BCEA-4D31-AFF0-7AB07C86A6A0@ajf.me> 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> Date: Thu, 22 May 2014 00:39:51 +0300 Message-ID: To: Andrea Faulds Cc: Nicolai Scheer , Rasmus Lerdorf , Kevin Ingwersen , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] encode php scripts with opcache compatibility From: narf@devilix.net (Andrey Andreev) On Wed, May 21, 2014 at 11:19 PM, Andrea Faulds wrote: > > On 21 May 2014, at 21:12, Nicolai Scheer wrote= : > >> I always thought the opcodes where kind of cryptic, at least a bit... I'= m >> not longing for "true" protection. It's enough if the scripts can not be >> read and modified in an easy way. > > I don=E2=80=99t believe there=E2=80=99s any way to do that. There's Zend Guard, ionCube and I also recall a third similar product (that probably no longer exists), but AFAIK none of them works with PHP 5.5 and OpCache is most likely the blocker for them. If OpCache and/or some syntax sugar isn't really a requirement though, I remember some years ago I had to use a Zend Guard version that was built for PHP 5.2 in a 5.3 environment ... using syntax compatible with 5.2 did the trick. My $0.02, Andrey.