Skip to content

[Bug] Do not allow to throw PHP exceptions within FFI Zend callbacks #50

Open
@lisachenko

Description

@lisachenko

As throwing is restricted now in PHP, see php/php-src@327e6c9, I should either handle all exceptions from hooks internally with try..catch section silencing them or convert them to user fatal error with trigger_error(...,E_USER_ERROR).

Maybe there is some advanced technique to install custom exception handler for this, but I'm not aware about this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions