Re: encode php scripts with opcache compatibility
| From: | Nicolai Scheer | Date: | Fri, 23 May 2014 13:55:43 +0000 |
| Subject: | Re: encode php scripts with opcache compatibility | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74456@lists.php.net to get a copy of this message | ||
Hi!
On 23 May 2014 15:39, Arvids Godjuks <arvids.godjuks@gmail.com> wrote:
> 2014-05-23 16:25 GMT+03:00 Nicolai Scheer <nicolai.scheer@gmail.com>:
>
> Hi!
>>
>> On 22 May 2014 16:01, Arvids Godjuks <arvids.godjuks@gmail.com> 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.
>
>
Yes, I will check it out, of course :)
Greetings
Nico