Empty PHP Statement

Empty PHP tags are not allowed.

Valid: There is at least one statement inside the PHP tag pair.

<?php <em>echo 'Hello World';</em> ?> <?= <em>'Hello World';</em> ?>

Invalid: There is no statement inside the PHP tag pair.

<?php <em>;</em> ?> <?= <em></em> ?>
Superfluous semicolons are not allowed.

Valid: There is no superfluous semicolon after a PHP statement.

function_call()<em>;</em> if (true) { echo 'Hello World'<em>;</em> }

Invalid: There are one or more superfluous semicolons after a PHP statement.

function_call()<em>;;;</em> if (true) { echo 'Hello World'; }<em>;</em>