Answers for "returning value from switch statement in php"

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 "returning value from switch statement in php"

Browse Popular Code Answers by Language