PHP7.3中在switch中使用continue语句会出现如题警告。

while ($foo) {
    switch ($bar) {
        case "baz":
            continue; // In PHP: Behaves like "break;"
                      // In C:   Behaves like "continue 2;"
    }
}

使用break或者continue 2代替。