Comments in PHP

Comments can be used to describe the functionality of specific code, the reason why it is needed.

Comments in PHP can either be single line or multiple line comments.

Single line comments begins with double slash lines.

Multiple line comments are denoted with a slash symbol and a star. This denotes the beginning of a comment.

A star and a slash symbol indicates where the multiple line comments ends.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator