From dc27fbd90f5bc67c968bcf71b6c0481e6d59ba9d Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sat, 19 Apr 2003 18:21:58 +0000 Subject: [PATCH] Add a test for ctor precedence --- tests/classes/inheritance_002.phpt | 87 ++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100755 tests/classes/inheritance_002.phpt diff --git a/tests/classes/inheritance_002.phpt b/tests/classes/inheritance_002.phpt new file mode 100755 index 0000000000..41358928bf --- /dev/null +++ b/tests/classes/inheritance_002.phpt @@ -0,0 +1,87 @@ +--TEST-- +Constructor precedence +--SKIPIF-- + +--FILE-- + +--EXPECT-- +### PHP4 style +string(17) "Child constructor" +string(16) "Base constructor" +### PHP5 style +string(17) "Child constructor" +string(16) "Base constructor" +### Mixed style 1 +string(17) "Child constructor" +string(16) "Base constructor" +### Mixed style 2 +string(17) "Child constructor" +string(16) "Base constructor" \ No newline at end of file -- 2.50.1