PHP有一个经典错误,在switch方法里,使用了continue,就会报这样一个错:
"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?
在PHP中,switch循环语句里,不允许使用continue,
在Laravel框架中,使用PHP内置的服务器:
php artisan serve
结果报错,端口监听失败:
Laravel development server started:
[Sat Mar 23 21:34:55 2019] Failed to listen on 127.0.0.1:8000 (reason: 以一种访问权限不允许的方式做了一个访问套接字