有个项目使用的thinkphp5
在php7.3以上当搭建起来后会报这个错误
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2
修改
\application\common\controller\Backend.php
把这里的continue改成break
![](https://img-blog.csdnimg.cn/img_convert/8de64d725980fbca394f76d2ab6bfa6e.png)
有个项目使用的thinkphp5
在php7.3以上当搭建起来后会报这个错误
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2
修改
\application\common\controller\Backend.php
把这里的continue改成break