Comments in PHP

In PHP, comments can be of three types.

I will give an example of the first (one-line in the style of C ++):

echo "TEXT"; // Comment

The second one in Unix style:

echo "TEXT"; # Comment

The third multiline:

     /* Comment
        Comment */
     echo "TEXT";
Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a comment

Leave a Reply