Automattic/liveblog

PHP 7.3 Compat: Continue Targeting Switch issues Warning

trepmal opened this issue · 2 comments

continue statements targeting switch control flow structures will now generate a warning. In PHP such continue statements are equivalent to break, while they behave as continue 2 in other languages.

http://php.net/manual/en/migration73.incompatible.php#migration73.incompatible.core.continue-targeting-switch

continue;

Should this be changed to break?

I believe so