下面代码执行结果正确的是
<?php $j=5; Switch($j){ Default: echo “no result”; case 1: echo “周一”; case 2: echo “周二 ”; case 3: echo “周三”; case 4: echo “周四”; case 5: echo “周五”; case 6: case 7: echo “周末”; } ?>
<?php $j=5; Switch($j){ case 1: echo "周一"; case 2: echo "周二 "; case 3: echo "周三"; case 4: echo "周四"; case 5: echo "周五"; case 6: case 7: echo "周末"; default: echo "no result"; } ?>