public function getName(): string switch case php code example
Example: dualcase php switch
case 'car':
case 'ferrari':
print("car or ferrari");
break;
case 'car':
case 'ferrari':
print("car or ferrari");
break;