mirror of
https://github.com/php/php-src.git
synced 2024-10-20 07:53:58 +00:00
18 lines
215 B
Plaintext
18 lines
215 B
Plaintext
|
--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
|
||
|
)
|