<?php interface i { public $p { get;} } class x implements i { public $p = 1 { get => $this->p;} } echo (new x)->p;
You have javascript disabled. You will not be able to edit any code.