--TEST-- Test V8::executeString() : Issue #185 this on function invocation --SKIPIF-- --FILE-- executeString($JS); // now fetch `inst` from V8 and call method from PHP $fn = $v8->executeString('(fn)'); $fn(); ?> ===EOF=== --EXPECT-- string(8) "function" string(8) "function" ===EOF===