<?php class A { var $a; function A() { $this->a = 'a'; } } class B extends A { var $b; function B() { $this->b = 'b'; } } $b = new B; var_dump($b);
You have javascript disabled. You will not be able to edit any code.