summaryrefslogtreecommitdiff
path: root/Zend/tests/bug38942.phpt
blob: 85bb56d2001c9fdbf62a83a8f1470395085470af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
)