Skip to content

FrankenPHP and disabled statement handler #64

Description

@carlos-granados

If frankenphp loads our debugger and no IDE is connected, in our RINIT we will not enable the compiler flag that allows calling the statement handler.

If the compiler flag is not set, this means that the code to call the statement handler will not be added to any code compiled into opcodes. If we later on connect the debugger, there might be code in the opcode cache which we will not be able to debug. Would there be a way to invalidate the opcode cache if we connect to a debugger in a frankenphp "request"?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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