文件名称:switch语句-PHP课件参考
文件大小:217KB
文件格式:PPT
更新时间:2024-05-13 13:39:29
PHP课件
switch语句 switch语句根据一个表达式的结果执行相应的语句块 switch (expression) { case label1: code to be executed if expression = label1; break; case label2: code to be executed if expression = label2; break; default: code to be executed if expression is different from both label1 and label2; }