| Posted by Christopher J. Bottaro on 05/05/05 17:56 
<code>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();
 </code>
 
 I want that to print "Derived", but it prints "Base" instead.  How can I get
 it to do what I want?
 
 Thank for the help.
  Navigation: [Reply to this message] |