This way should work. Currently it works only for phar:// and file://, because opcache knows them, but it's possible to use some stream flag.
I suggest stop voting, re-work proposal, provide implementation, and try once again. Thanks. Dmitry. ________________________________ From: François Laupretre <franc...@tekwire.net> Sent: Thursday, June 22, 2017 4:32:13 PM To: Dmitry Stogov; Internals Subject: Re: [PHP-DEV] [RFC][VOTE] Add support for stream-wrapped URLs in opcode cache Hi Dmitry, Le 22/06/2017 à 09:42, Dmitry Stogov a écrit : The PR is incomplete, so I can't test and even understand the idea completely. In my opinion, user defined streams can't be cached, because the wrapper code itself may be changed from request to request. Right. I hadn't imagined the case where two different applications would use a common wrapper name. So, we should probably restrict the feature to permanent (C code) wrappers. Regards François