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

15 lines
199 B
Markdown

# ContinueOutsideLoop
Emitted when encountering a `continue` statement outside a loop context.
```php
<?php
$a = 5;
continue;
```
## Why this is bad
The code won't compile in PHP 5.6 and above.