Comments in PHP
Comments in PHP can be of two types. There can be single line comments and multiple line comments.
Single line comments are indicated by two forward slashes. Such comments can be on a separate line or they can follow the code.
Multiple line comments in PHP are denoted by /* as to open a comment, and */ to close it.
Comments don't execute. Purpose of comments to explain what the code does.
Comments
Post a Comment