Re: encode php scripts with opcache compatibility

From: Date: Fri, 23 May 2014 13:23:18 +0000
Subject: Re: encode php scripts with opcache compatibility
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-74450@lists.php.net to get a copy of this message
Hi! On 22 May 2014 21:18, Lazy <lazy404@gmail.com> wrote: > 2014-05-21 12:20 GMT+02:00 Nicolai Scheer <nicolai.scheer@gmail.com>: > > Hi all, > > > > I'm currently facing the situation, that I need to protect my php sources > > and retain opcache compatibility. > > > Basically it would be ok to just dump the _zend_op_array struct (defined > in > > zend_compile.h) to a file and make the zend engine able to load it again. > > Once it is loaded, it could be server from opcache. > > > Is there any solution for my situation? > > Are there any plans to add the "serialize opcode to string, dump string > to > > file and load it again"-functionality to php? > > How easy would it be to add this functionality? > > > > Maybe there are already functions I don't know about to ease this > process ? > > [MLC Opcache links] > > -- > Michal Grzedzicki > That's very interesting! I'll look into that stuff! Thanks! Nico

« previous php.internals (#74450) next »