Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <body> <?php // la variable $user est la valeur de $_GET['user'] // et 'anonyme' s'il n'existe pas echo $user = $_GET["user"] ?? "anonyme"; echo("<br>"); // la variable $color est "red" si $color n'existe pas ou est null echo $color = $color ?? "rouge"; ?> </body> </html>
anonymous
red