switch中的条件 来判断执行哪一个 case ,其他的都不执行吗?
橱窗的光
橱窗的光 2016-12-17 13:37:12
0
2
1207
橱窗的光
橱窗的光

reply all(2)
数据分析师

The conditions in the switch are used to determine which case to execute, and the others are not executed? -PHP Chinese website Q&A-The conditions in switch are used to determine which case to execute, and the others are not executed? -PHP Chinese website Q&A

Please watch and learn.

迷茫

如果我们没有break语句,程序会一步一步执行到最后,遇到break,则不往下执行,没有符合条件,我们执行default语句,

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!