<?php $foo = true; function get(): string { return 'hello'; } //echo $foo ? get(); //echo "\n"; //echo $foo ? get(): null; echo $foo ?: get();
You have javascript disabled. You will not be able to edit any code.