--TEST-- Test V8::executeString() : Method access from multiple derived classes --SKIPIF-- --FILE-- Foo = new Foo(); $v8->Bar = new Bar(); $code = <<executeString($code); ?> ===EOF=== --EXPECTF-- object(Foo)#%d (1) { ["bla"] => object(Closure)#%d { function () { [native code] } } } print bla, called class: Foo object(Bar)#%d (1) { ["bla"] => object(Closure)#%d { function () { [native code] } } } print bla, called class: Bar ===EOF===