diff options
Diffstat (limited to 'Zend/tests/bug38942.phpt')
| -rwxr-xr-x | Zend/tests/bug38942.phpt | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Zend/tests/bug38942.phpt b/Zend/tests/bug38942.phpt new file mode 100755 index 0000000000..85bb56d200 --- /dev/null +++ b/Zend/tests/bug38942.phpt @@ -0,0 +1,17 @@ +--TEST-- +Bug #38942 (Double old-style-ctor inheritance) +--FILE-- +<?php +class foo { + public function foo() {} +} + +class bar extends foo { +} +print_r(get_class_methods("bar")); +?> +--EXPECT-- +Array +( + [0] => foo +) |
