<?php class Foo { public function __construct( readonly string $bar, ) { } } echo (new Foo('asd'))->bar;
You have javascript disabled. You will not be able to edit any code.