编程语言
首页 > 编程语言> > [PHP] 解决TP5 出现错误 "continue" targeting switch is equivalent to "break". Did you m

[PHP] 解决TP5 出现错误 "continue" targeting switch is equivalent to "break". Did you m

作者:互联网

有个项目使用的thinkphp5

在php7.3以上当搭建起来后会报这个错误

 "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2

 

修改

\application\common\controller\Backend.php

 

把这里的continue改成break

 

标签:use,targeting,Did,equivalent,break,continue
来源: https://www.cnblogs.com/taoshihan/p/14943856.html