<?php class A{ protected $stuff; function setStuff(int $foo){ $this->stuff = $foo; } function getStuff(): int{ return $this->stuff; } } $x = new A; var_export($x);
You have javascript disabled. You will not be able to edit any code.