Skip to content

Mention that zend_set_user_opcode_handler must be called on MINIT phase #96

Open
@smola

Description

@smola

In the Replacing Opcode Handlers, the example calls zend_set_user_opcode_handler from the PHP_MINIT_FUNCTION.

As far as I can tell, this is actually required and calling it during the script execution (e.g. from a PHP function) will not work as expected. If someone can confirm that's the case, I can contribute the PR if needed.

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