Closed stesie closed 9 years ago
If JS context calls a PHP function that triggers either die or exit, the engine segfaults.
die
exit
Example:
<?php $v8 = new V8Js(); $v8->foo = function() { echo "Hallo\n"; die("blar ...\n"); }; $v8->executeString('PHP.foo();');
I cannot reproduce this any longer, but nevertheless I pushed the test case shown above, since it definitely shouldn't crash the engine.
If JS context calls a PHP function that triggers either
die
orexit
, the engine segfaults.Example: