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...
@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.
@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.