Exemplo n.º 1
0
 function bmethod()
 {
     $this->aprop = "the current instance";
     aclass::aclass();
     aclass::amethod();
     // We want to disagree with PHP in this case.
     //  notparent::nmethod();
 }
Exemplo n.º 2
0
 function __construct()
 {
     print "Constructor of bclass called\n";
     parent::aclass();
     parent::__construct();
 }