RE: [PHP] calling a derived static method from a base class
From: news [mailto:[EMAIL PROTECTED] On Behalf Of > >class Base { > > static function f() { > self::g(); > } > > static function g() { > print("Base\n"); > } >} > >class Derived extends Base { > static function g() { >
[PHP] calling a derived static method from a base class
class Base { static function f() { self::g(); } static function g() { print("Base\n"); } } class Derived extends Base { static function g() { print("Derived\n"); } } Derived::f(); I want that to print