No Semicolon In Sight

By Ryan Chandler

This PHP code doesn’t compile: the echo must be complete to be closed with a PHP tag. Either the comma should be a semicolon, or an extra argument should be present.

In any case, the linting error message reports an unexpected semicolon, which is not visible in the code. Indeed, it is hidden in the PHP closing tag.

../_images/no_semi_colon_in_sight.png