Notifications
Clear all

Php comment

2 Posts
2 Users
0 Likes
304 Views
Posts: 74
Admin
Topic starter
(@admin)
Member
Joined: 4 years ago

What is php comment? How to Write Comments in PHP

Topic Tags
1 Reply
Posts: 48
(@alaikha)
Eminent Member
Joined: 4 years ago

What is php comment?

A PHP comment is a short passage of text that is not executed by the program. There is no other purpose for it except to be read by someone looking at the code. The purpose of comments is to let others get an understanding of the code.

What are comments in PHP and why do we must use them ? | by Decode Web |  Medium

 
How to write comments in PHP
  • The Syntax "// text" and "/* text */" are usually used to explain the functionality of a PHP block of code
  • Single Line Comments
  • Comments in PHP begin with //
  • Multi-line Comments
  • Related FAQ
Reply