Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74454 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 84069 invoked from network); 23 May 2014 13:39:54 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2014 13:39:54 -0000 Authentication-Results: pb1.pair.com header.from=arvids.godjuks@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=arvids.godjuks@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.52 as permitted sender) X-PHP-List-Original-Sender: arvids.godjuks@gmail.com X-Host-Fingerprint: 209.85.192.52 mail-qg0-f52.google.com Received: from [209.85.192.52] ([209.85.192.52:34556] helo=mail-qg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5A/03-01753-8AF4F735 for ; Fri, 23 May 2014 09:39:53 -0400 Received: by mail-qg0-f52.google.com with SMTP id a108so8167636qge.11 for ; Fri, 23 May 2014 06:39:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=7bgPrPsvEYzAWQyRPiaNEU8qekIbl32MF26iJPCgIIA=; b=LOzDg7b1DFMDUjuhajP5iVeYGmCHM5wiLLT/CLA7MHXdkB1SanQ9OwFAI+SZ3HDSI+ 5P2NxE+tGl0w8s+ngl6YvVmJAgXUw7Xl+0r8n9gFdw1JlI26wpLwDI3W+sQzZ9MDJWhh S4lUgBnIR4+6yL6NGfYfC6pUZV3aEZCVJCgYWbulk7cWs8gT4ssJSXMLDz/L2RszrGc9 PYJw6DiYWY/74bEhixmNefdt1YZQ0IwoijctvQSui1V+9vz5ClCLR9zg24Nd2F3JSQzS mdg/cdSHCfYP9jSm8CgRAaEIDneIwBT4gIsMOWAsOTRq+HhULgpqVdlncOyokpL31dKG N88g== X-Received: by 10.140.84.168 with SMTP id l37mr6356704qgd.104.1400852390281; Fri, 23 May 2014 06:39:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.97.246 with HTTP; Fri, 23 May 2014 06:39:30 -0700 (PDT) In-Reply-To: References: <537DA268.1000801@tobin.nl> <416063C7-D802-4AD1-938C-035F0EBC373D@googlemail.com> Date: Fri, 23 May 2014 16:39:30 +0300 Message-ID: To: Nicolai Scheer Cc: Kevin Ingwersen , Bas van Beek , PHP Internals Content-Type: multipart/alternative; boundary=001a11c117081b0aba04fa115df5 Subject: Re: [PHP-DEV] encode php scripts with opcache compatibility From: arvids.godjuks@gmail.com (Arvids Godjuks) --001a11c117081b0aba04fa115df5 Content-Type: text/plain; charset=UTF-8 2014-05-23 16:25 GMT+03:00 Nicolai Scheer : > Hi! > > On 22 May 2014 16:01, Arvids Godjuks wrote: > >> Maybe the Zephyr http://zephir-lang.com/ could give you an alternative to >> messing with OPCache and encoders and give you some performance boost at >> the same time. But only if your client can configure PHP to load an >> extension of yours that Zephyr makes. >> > > That again involves rewriting a lot of scripts which is unfortunately not > feasible. > > Greetings > > Nico > > I'd suggest at least checking it out. It is a smaller subset of PHP and as far as I know, they have some kind of translator from PHP into Zephir, so you can just fix the parts that are dynamic in nature and should be done differently in Zephir. And you don't need to put all the code into it - just important classes that you really wana hide. You can't write direct code in Zephir, just the classes. It's a tool for creating library code that is done as a PHP extension. Arvids. --001a11c117081b0aba04fa115df5--