Re: [PHP-DEV] 回复: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace the compiled opcode file path

2020-12-11 Thread Sara Golemon
On Thu, Dec 10, 2020 at 2:20 PM Morgan Breden wrote: > I'm not 100% certain but I believe what chopins is proposing is the > ability to require()/include() files generated by opcache, without > including the .php file. > > The reference to __FILE__ is I believe a warning to using relative paths,

Re: [PHP-DEV] 回复: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace the compiled opcode file path

2020-12-10 Thread Morgan Breden
I'm not 100% certain but I believe what chopins is proposing is the ability to require()/include() files generated by opcache, without including the .php file. The reference to __FILE__ is I believe a warning to using relative paths, since the compiled opcode file would be in a different

Re: [PHP-DEV] 回复: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace the compiled opcode file path

2020-12-10 Thread Sara Golemon
On Thu, Dec 10, 2020 at 8:40 AM €– ”k”k wrote: > Hi, Aleksander Machniak: > which part is more difficult to read? Can you tell me? > > All of it. I'm sorry, but I have absolutely no idea what you're trying to propose here. Something about __FILE__ not being the right value in certain

[PHP-DEV] 回复: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace the compiled opcode file path

2020-12-10 Thread €– ”k”k
Hi, Aleksander Machniak: which part is more difficult to read? Can you tell me? 发件人: Aleksander Machniak 发送时间: 2020年12月10日 20:53 收件人: internals@lists.php.net 主题: Re: [PHP-DEV] [rfc:direct-execution-opcode] Whether need __FILE__ the value of the file to replace