📜  php inline if null 检查 - PHP 代码示例
📅  最后修改于: 2022-03-11 14:54:45.859000             🧑  作者: Mango
代码示例1
$username = null;
$name = $username ?? 'unknown';
# Use unknown as name if the username variable isn't set.