首页 > 代码库 > switch语法之PHP

switch语法之PHP

    $a = 100;        switch ($a) {            case 100:                echo ‘满分‘;                break;            case $a >=60:                echo ‘及格‘;                break;        }

 

switch语法之PHP