--TEST-- Test V8::executeString() : Property visibility - set --SKIPIF-- --FILE-- privBar); var_dump($this->protBar); var_dump($this->pubBar); } } $js = new V8Js(); $js->foo = new Foo(); $script = <<executeString($script); $js->foo->dump(); ?> ===EOF=== --EXPECT-- string(6) "jsPriv" string(6) "jsProt" string(5) "jsPub" string(7) "privBar" string(7) "protBar" string(5) "jsPub" ===EOF===