Answers for "switch case php two statement"

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

Code answers related to "switch case php two statement"

Browse Popular Code Answers by Language