diff --git a/tests/derived_class_properties_protected.phpt b/tests/derived_class_properties_protected.phpt new file mode 100644 index 0000000..054fbf0 --- /dev/null +++ b/tests/derived_class_properties_protected.phpt @@ -0,0 +1,27 @@ +--TEST-- +Test V8::executeString() : Protected and private properties on derived class +--SKIPIF-- + +--FILE-- +testing = 23; + $this->privTesting = 42; + } +} + +$v8 = new V8Wrapper(); +$v8->executeString('print(PHP.testing + "\n");'); +$v8->executeString('print(PHP.privTesting + "\n");'); +?> +===EOF=== +--EXPECT-- +undefined +undefined +===EOF===