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 echo "Démarrage du processus."; try { // Sélectionnez aléatoirement entre 0 et 1, lancez une exception si 1 est sélectionné. $random = rand(0, 1); if($random == 1) { throw new Exception("Exception"); } } enfin { echo "Processus terminé"; } ?> </body> </html>
Démarrage du processus. Processus terminé