Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:81775 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 43256 invoked from network); 4 Feb 2015 07:19:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Feb 2015 07:19:17 -0000 Authentication-Results: pb1.pair.com smtp.mail=francois@tekwire.net; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=francois@tekwire.net; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain tekwire.net does not designate 212.27.42.2 as permitted sender) X-PHP-List-Original-Sender: francois@tekwire.net X-Host-Fingerprint: 212.27.42.2 smtp2-g21.free.fr Received: from [212.27.42.2] ([212.27.42.2:45536] helo=smtp2-g21.free.fr) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 86/67-20608-4F7C1D45 for ; Wed, 04 Feb 2015 02:19:16 -0500 Received: from moorea (unknown [82.240.16.115]) by smtp2-g21.free.fr (Postfix) with ESMTP id 17EF04B0194; Wed, 4 Feb 2015 08:15:58 +0100 (CET) Reply-To: To: "'Cesar Rodas'" , , "'Leigh'" References: <54D1593A.3000607@rodas.me> In-Reply-To: <54D1593A.3000607@rodas.me> Date: Wed, 4 Feb 2015 08:19:09 +0100 Message-ID: <00e001d0404a$dea88cd0$9bf9a670$@tekwire.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQHI42cOZaEDOAr4MWNQAzx8jlWjtZzuzZfg Content-Language: fr X-Antivirus: avast! (VPS 150203-1, 03/02/2015), Outbound message X-Antivirus-Status: Clean Subject: RE: [PHP-DEV] Question regarding stream wrappers and op code cache From: francois@tekwire.net (=?utf-8?Q?Fran=C3=A7ois_Laupretre?=) > De : Cesar Rodas [mailto:cesar@rodas.me] > I have a doubt, is it efficient include/require files from a source > different than the "real file system" a stream wrapper class? My > question is, would the op-code cache work as it would when reading a > file form the filesystem? I understand your question but, yes, the feature is essential to = packages systems like phar and phk (and it is useless for most other = stream wrappers). Package systems distribute a virtual file tree, handle = stat(), and returning valid mtimes. So, the opcode cache must be able to = work with these stream wrappers. Regards Fran=C3=A7ois