<?php class A { private $kaas; public function __construct() { $this->kaas = 'A'; } public function getKaas() { return $this->kaas; } } $b = new A(); $c = $b->getKaas(); echo "{$c}";
You have javascript disabled. You will not be able to edit any code.