We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 37cdb6f + e06b382 commit 7c40690Copy full SHA for 7c40690
v8js_object_export.cc
@@ -38,7 +38,11 @@ v8::Local<v8::Value> v8js_propagate_exception(v8js_ctx *ctx) /* {{{ */
38
{
39
v8::Local<v8::Value> return_value = v8::Null(ctx->isolate);
40
41
+#if PHP_VERSION_ID < 80100
42
+ if (!(ctx->flags & V8JS_FLAG_PROPAGATE_PHP_EXCEPTIONS) || zend_is_unwind_exit(EG(exception))) {
43
+#else
44
if (!(ctx->flags & V8JS_FLAG_PROPAGATE_PHP_EXCEPTIONS) || zend_is_graceful_exit(EG(exception)) || zend_is_unwind_exit(EG(exception))) {
45
+#endif
46
v8js_terminate_execution(ctx->isolate);
47
return return_value;
48
}
0 commit comments