📅  最后修改于: 2022-03-11 14:54:02.030000             🧑  作者: Mango
switch ([$color, $size]) {
case ['blue', 'small']:
echo 'blue and small';
break;
case ['red', 'large'];
echo 'red and large';
break;
}