1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-11 08:49:52 +01:00
psalm/docs/running_psalm/issues/ContinueOutsideLoop.md
2020-03-21 09:48:35 -04:00

199 B

ContinueOutsideLoop

Emitted when encountering a continue statement outside a loop context.

<?php

$a = 5;
continue;

Why this is bad

The code won't compile in PHP 5.6 and above.