Re: 回复: [PHP-DEV] [rfc:direct-executio n-opcode] Whether need __FILE__ the value of the file to rep lace the compiled opcode file path

From: Date: Fri, 11 Dec 2020 14:52:30 +0000
Subject: Re: 回复: [PHP-DEV] [rfc:direct-executio n-opcode] Whether need __FILE__ the value of the file to rep lace the compiled opcode file path
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-112490@lists.php.net to get a copy of this message
On Thu, Dec 10, 2020 at 2:20 PM Morgan Breden <morganbreden@gmail.com> 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, > since the compiled opcode file would be in a different location? > Yeah, I found their PR which made the intent a lot clearer. I would add this to the already sizable list of reasons why that PR isn't a good idea. -Sara

« previous php.internals (#112490) next »