Updated PHP template to utilize PHPDoc

Link to PHPDoc http://en.wikipedia.org/wiki/PHPDoc
PHPDoc is most used comment style for php and closing php tag, in a file containing only php, is not recommended, as in PSR-2: http://www.php-fig.org/psr/psr-2/