Commit 366f157e authored by Nico Schallehn's avatar Nico Schallehn

tst

parent 0a1aea02
...@@ -22,7 +22,7 @@ do{ ...@@ -22,7 +22,7 @@ do{
echo "Bitte Befehl eingeben: "; echo "Bitte Befehl eingeben: ";
$name = trim(fgets(STDIN)); $name = trim(fgets(STDIN));
echo "Hallo $name \n"; //echo "Hallo $name \n";
switch ($name){ switch ($name){
case "exit": case "exit":
$exit = true; $exit = true;
...@@ -34,7 +34,8 @@ do{ ...@@ -34,7 +34,8 @@ do{
break; break;
} }
$name = trim(fgets(STDIN)); echo "Weiter mit (ENTER)".PHP_EOL;
trim(fgets(STDIN));
}while(!$exit); }while(!$exit);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment