<?php class Foo { public mixed $data { get => $this->data ?? null; //throw new Exception("this property is not set."); set => $this->data = $value; isset => isset($this->data); } } $foo = new Foo(); //option 1 var_dump(?$foo->data); // This should produce the same output as an "isset" //option 2 var_dump($foo->data?isset); // This should join on "isset" hook
You have javascript disabled. You will not be able to edit any code.
Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).