condition ternaire php code example Example: ternaire echo isset php <?= (isset($var)) ? $var : '' ?>