<html>
<body>
// variable $user is the value of $_GET['user']
// and 'anonymous' if it does not exist
echo $user = $_GET["user"] ?? "anonymous";
echo("<br>");
// variable $color is "red" if $color does not exist or is null
echo $color = $color ?? "red";
</body>
</html>