xref: /PHP-5.3/Zend/tests/bug38942.phpt (revision 610c7fbe)
1--TEST--
2Bug #38942 (Double old-style-ctor inheritance)
3--FILE--
4<?php
5class foo {
6    public function foo() {}
7}
8
9class bar extends foo {
10}
11print_r(get_class_methods("bar"));
12?>
13--EXPECT--
14Array
15(
16    [0] => foo
17)
18