PHP best practices : do you use ; after each PHP statement or not?
<p>I'm still pretty new to PHP so I don't want to make any bad habits early. When I input this statement into a WordPress PHP file:</p>

<pre><code>&lt;p&gt;This post was written by &lt;?php the_author(); ?&gt;&lt;/p&gt;
</code></pre>

<p>It also works when I remove the semicolon:</p>

<pre><code>&lt;p&gt;This post was written by &lt;?php the_author() ?&gt;&lt;/p&gt;
</code></pre>

<p>Is it a bad practice if I do not use a semicolon at the end of my php statements or not? </p>
