How can one force #PHP to ignore a huge file for #OPcache? Ideas welcome https://github.com/loupe-php/loupe/pull/144 (without configuring the blacklist in the ini settings of course)
Disable OPcache by default by Toflar · Pull Request #144 · loupe-php/loupe

I want to disable storing the state set in OPcache by default for the reasons described in the docs. However, the current solution won't work because this affects all other scripts loaded after...

GitHub
@toflar i didn't realise its a state thing, being on until you turn it off. would have expected the first pass would have flagged it off before beginning the next. since it works that way it sounds like some sort of declare(opcache.skipme=1) type thing would work? i dont remember if we are anti declare after strict_types or not.
@bobmagicii there is no such directive, I guess I would've found :) What do you mean by "it's a state thing"?
@toflar oh - i completely made it up as an idea of how it could be done with established norms. core would have to be convinced to implement something.