diff --git a/v8js_convert.cc b/v8js_convert.cc index 1f5c0ab..accf4aa 100644 --- a/v8js_convert.cc +++ b/v8js_convert.cc @@ -654,7 +654,9 @@ static inline v8::Local php_v8js_named_property_callback(v8::LocalGetConstructor(); + // Don't set a return value here, i.e. indicate that we don't + // have a special value. V8 "knows" the constructor anyways + // (from the template) and will use that. } else { if (is_magic_call && method_ptr==NULL) { // Fake __call implementation