執行 ❯
獲取您
自己的 PHP
伺服器
×
更改方向
更改主題,深色/淺色
前往 Spaces
<!DOCTYPE html> <html> <body> <?php // 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>
anonymous
red