someoneneedshelps
Technical User
Is this fall through statement valid?
Code:
function switch_to_get_values($valuetype)
{
switch ($valuetype)
{
case "image":
case "time":
case "text":
case "digityorn":
case "digitnory":
case "yorn":
$value=true;
break;
case "int":
case "float":
case "int":
default:
$value=false;
break;
}
return $value;
}