diff --git a/tests/property_visibility-has-property.phpt b/tests/property_visibility-has-property.phpt new file mode 100644 index 0000000..1fdb5df --- /dev/null +++ b/tests/property_visibility-has-property.phpt @@ -0,0 +1,49 @@ +--TEST-- +Test V8::executeString() : Property visibility - has property +--SKIPIF-- + +--FILE-- +foo = new Foo(); + +$script = <<executeString($script); + +?> +===EOF=== +--EXPECT-- +bool(false) +bool(false) +bool(true) +bool(false) +bool(true) +bool(true) +bool(true) +bool(true) +===EOF===