while ($foo) {
switch ($bar) {
case "baz":
continue; // In PHP: Behaves like "break;"
// In C: Behaves like "continue 2;"
}
}
最好的方式是把 continue 改为 continue 2 或 break
https://wiki.php.net/rfc/continue_on_switch_deprecation ↩︎
邮箱 626512443@qq.com
电话 18611320371(微信)
QQ群 235681453
Copyright © 2015-2024
备案号:京ICP备15003423号-3