In PHP, if I have a triple type:
$my_thing = $this->myAttribute ? $this->myAttribute : "No attribute was set.";
can this be reduced?
$my_thing = $this->myAttribute ?: "No attribute was set."
It seemed to me that I remember how PHP supported this in its tees, but now I get an error message.
Don p source share