Use a Semicolon to End Each PHP Statement
Use a semicolon (;) at the end of each PHP statement. PHP uses semicolons to distinguish where one statement ends and the next begins.
Technically, you are not required to use a semicolon when you have a single PHP statement inside a code island, because the semicolon serves to separate two statements.
However, it is good form to end all of your PHP statements with a semicolon, whether required or not.