expressions ternaires php

$result = $condition ? 'foo' : 'bar';
Distinct Dolphin