isset and not empty short line php code example Example: php shorthand if isset $var = $var ?? "default";