We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aac40cd commit cba24dfCopy full SHA for cba24df
v8js_variables.cc
@@ -80,7 +80,7 @@ void v8js_register_accessors(std::vector<v8js_accessor_ctx*> *accessor_list, v8:
80
ctx->isolate = isolate;
81
82
/* Set the variable fetch callback for given symbol on named property */
83
- php_obj->SetAccessor(V8JS_STRL(ZSTR_VAL(property_name), static_cast<int>(ZSTR_LEN(property_name))), v8js_fetch_php_variable, NULL, v8::External::New(isolate, ctx), v8::DEFAULT, v8::ReadOnly);
+ php_obj->SetAccessor(V8JS_STRL(ZSTR_VAL(property_name), static_cast<int>(ZSTR_LEN(property_name))), v8js_fetch_php_variable, NULL, v8::External::New(isolate, ctx));
84
85
/* record the context so we can free it later */
86
accessor_list->push_back(ctx);
0 commit comments