Answers for "switch case in php with user input"

PHP
2

php case switch

switch ($i) {
    case 0:
        echo "i ist gleich 0";
        break;
    case 1:
        echo "i ist gleich 1";
        break;
    case 2:
        echo "i ist gleich 2";
        break;
}
Posted by: Guest on February-03-2021

Browse Popular Code Answers by Language