1234567891011121314151617181920212223242526272829303132333435 |
- --TEST--
- Class method registration
- --FILE--
- <?php
- class A {
- function foo() {}
- }
- class B extends A {
- function foo() {}
- }
- class C extends B {
- function foo() {}
- }
- class D extends A {
- }
- class F extends D {
- function foo() {}
- }
- echo "OK\n";
- ?>
- --EXPECT--
- OK
|