Answers for "php switch case numeric"

PHP
0

switch case or case php

switch ($your_variable)
{
    case 1:
    case 2:
        echo "the value is either 1 or 2.";
    break;
}
Posted by: Guest on March-08-2021

Browse Popular Code Answers by Language