Skip to content

Feature request: opcache_evict #234

@if-kenn

Description

@if-kenn

With the use of frameworks like Symphony, and the use of composer, many PHP apps are literally more than 10,000 php files like Drupal 8 which is based on Symphony.

I understand that OpCache does not want to implement any kind of automatic eviction algorithms. That said, adding a function like:

bool opcache_invalidate ( string $script )

Would allow eviction to be self-managed. There might be some architectural reason something like this does not already exist, but if there is not I would very much like to be able to throw scripts out of cache to make room for more recently used scripts.

Thanks for consideration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions