<?php class y{ public string $y; public function __construct(bool $b){ if($b){ $this->y = "hello"; } if(!isset($this->y)){ $this->y = "goodbye"; } } }
You have javascript disabled. You will not be able to edit any code.