properly comment php code code example
Example 1: comment in php
<?php
/*
echo 'This is a test'; /* This comment will cause a problem */
*/
?>
Example 2: php proper function comments
/**
* This function compiles a message that tells you how great coffee is
*
* @param string $compliment A nice word to describe coffee
* @param integer $score A score out of 10
*/