Ver originalclass a {function metodo(){$var = 1;return $var;}} class b extends a {function __construct(){echo parent::metodo();}} $instaciar = new b();