PHP ternär
$result = $condition ? 'foo' : 'bar';
Distinct Dolphin
$result = $condition ? 'foo' : 'bar';
$y = $x ? "true" : "false";