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 )