On Saturday, November 24, 2018 11:03:01 PM CST Marco Pivetta wrote:
> Adding to the pile of "it's an edge case", since the preload scripts will
> be procedural, wouldn't it be sufficient to call
> `opcache_invalidate(__FILE__)` at the end of them?

Are we certain that it will always be procedural?  Is there a part of the 
preload script design that prevents it from defining a function?

I'd be very surprised if someone defined a class in a preload script, but I 
can definitely see a function getting defined somewhere.  And if it includes 
some other file (eg, Composer may be generating one, frameworks may build one, 
etc.) then who knows what that file will have defined.

Would that cause issues in this case?

--Larry Garfield

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to