This repository has been archived on 2026-06-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
sgd/ysqld/ysql03d/break_anweisung.php

16 lines
287 B
PHP

<?php
$gesamt = 0;
while ($gesamt < 21) {
$wuerfeln = rand(1,6);
if ($wuerfeln == 6) {
echo "Gefürfelt: $wuerfeln. Die schleife wird verlassen";
break;
}
$gesamt += $wuerfeln;
echo "Gewürfelt: $wuerfeln, Gesamt: $gesamt<br>";
}
?>