PHP Comments

By comment it means that the developers do not want to execute that particular code. It is generally to test that this particular code is running properly or not.

Example:

Result:
PHP stand for

Explanation: If one want to comment a single line then they can use either – “//” or “#” or if one want to comment multiple line then they can use- “/* —code—-*/”
And in the last part you must have seen that particular section has been commented so that part would not be seen by anyone and result would be that part that is not commented.

Leave a Comment