![]() ![]() | ![]() |
1.1 ! misho 1: --TEST-- ! 2: Bug #38942 (Double old-style-ctor inheritance) ! 3: --FILE-- ! 4: <?php ! 5: class foo { ! 6: public function foo() {} ! 7: } ! 8: ! 9: class bar extends foo { ! 10: } ! 11: print_r(get_class_methods("bar")); ! 12: ?> ! 13: --EXPECT-- ! 14: Array ! 15: ( ! 16: [0] => foo ! 17: )