Typically, you will open and close PHP files like this:
<?php // php code here ?>
Recently, I was introduced to another way. You leave them out!
<?php // php code here /* end of php file */
It seems a little weird at first leaving out the PHP closing tag. Feeling a little exposed and naked? It will take a little getting used to this way of closing out PHP. Somehow, it just doesn’t seem normal. This was done mainly to avoid the extra characters at the end of the file. You normally get a warning that headers were already sent or you cannot modify header information, if you have extra characters at the end of the PHP file.