Skip to content

die/exit from within exported PHP functions causes segfault #122

@stesie

Description

@stesie

If JS context calls a PHP function that triggers either die or exit, the engine segfaults.

Example:

<?php
$v8 = new V8Js();
$v8->foo = function() { echo "Hallo\n"; die("blar ...\n"); };
$v8->executeString('PHP.foo();');

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions