Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87283 invoked from network); 22 May 2014 14:54:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 May 2014 14:54:22 -0000 Authentication-Results: pb1.pair.com smtp.mail=bas@tobin.nl; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bas@tobin.nl; sender-id=pass Received-SPF: pass (pb1.pair.com: domain tobin.nl designates 208.97.132.208 as permitted sender) X-PHP-List-Original-Sender: bas@tobin.nl X-Host-Fingerprint: 208.97.132.208 homie.mail.dreamhost.com Linux 2.6 Received: from [208.97.132.208] ([208.97.132.208:44885] helo=homiemail-a4.g.dreamhost.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BD/62-63132-D9F0E735 for ; Thu, 22 May 2014 10:54:22 -0400 Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 4320851C069 for ; Thu, 22 May 2014 07:54:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=tobin.nl; h=message-id :date:from:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; s=tobin.nl; bh=8ZeY6PnN +Brz0iJDv66eDBOWQNM=; b=d4GD9x3jHINNM3zDJkQ6c0KQLfMXn2AaEb4cxnwY q6NRreA+0KjZvW4fCsDfb/mGGRSKPkm0ucmU5QnW6tKLtE79Z52Bt+ESEbKRU/wE yrCiZ/DzupcjyNlyXF4A0b/SaEuF0VB+oaPbwGWAYNcTNuIgO33LcYNOdWQZ+MaS Q90= Received: from [192.168.1.20] (84-53-89-40.adsl.unet.nl [84.53.89.40]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: bas@tobin.nl) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id E9B3A51C062 for ; Thu, 22 May 2014 07:54:17 -0700 (PDT) Message-ID: <537E0F97.40301@tobin.nl> Date: Thu, 22 May 2014 16:54:15 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: internals@lists.php.net References: <537DA268.1000801@tobin.nl> <416063C7-D802-4AD1-938C-035F0EBC373D@googlemail.com> <1400768948.2870.9057.camel@guybrush> In-Reply-To: <1400768948.2870.9057.camel@guybrush> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] encode php scripts with opcache compatibility From: bas@tobin.nl (Bas van Beek) op 22-05-14 16:29, Johannes Schl=C3=BCter schreef: > On Thu, 2014-05-22 at 15:47 +0200, Kevin Ingwersen wrote: >> Definitively an aproach I am going to test out myself, to learn more >> about this. > Mind that a user could simply do something like this in an > auto_append_file to get all scripts: > > foreach (get_included_files() as $filename) { > $sourcecode[$filename] =3D file_get_contents($filename); > } > ?> > > So this ains little over using a phar file. Maybe I'm missing something but I don't see that happen if PHP is=20 embedded in the C++ application through its own SAPI handler which will=20 not pick up any ini directives from external php.ini files. Bas van Beek