Answers for "array value switch case php"

PHP
9

switch php

switch ($element) {
    case 0:
        echo "i es igual a 0";
        break;
    case 1:
        echo "i es igual a 1";
        break;
    case 2:
        echo "i es igual a 2";
        break;
}
Posted by: Guest on May-23-2020

Browse Popular Code Answers by Language