From 645b0df999edd2b0a0fc80e38cda2c8ec494ac2a Mon Sep 17 00:00:00 2001 From: Stefan Siegl Date: Fri, 18 Oct 2013 23:57:26 +0200 Subject: [PATCH] Add test from issue #54 --- tests/derived_class_properties.phpt | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 tests/derived_class_properties.phpt diff --git a/tests/derived_class_properties.phpt b/tests/derived_class_properties.phpt new file mode 100644 index 0000000..c1a24ce --- /dev/null +++ b/tests/derived_class_properties.phpt @@ -0,0 +1,23 @@ +--TEST-- +Test V8::executeString() : Properties on derived class +--SKIPIF-- + +--FILE-- +testing = 23; + } +} + +$v8 = new V8Wrapper(); +$v8->executeString('print("foo\n");'); +?> +===EOF=== +--EXPECT-- +foo +===EOF===