--TEST-- Test V8::executeString() : Get constructor method --SKIPIF-- --FILE-- foo = new Foo(23); $js = <<executeString($js); ?> ===EOF=== --EXPECTF-- called constructor: array(1) { [0]=> int(23) } object(Closure)#%d { function Foo() { [native code] } } called constructor: array(1) { [0]=> int(42) } ===EOF===