Notifications
Clear all

Php comment


admin
Posts: 74
Admin
Topic starter
(@admin)
Member
Joined: 11 months ago

What is php comment? How to Write Comments in PHP

Topic Tags
1 Reply
Alaikha
Posts: 48
(@alaikha)
Eminent Member
Joined: 11 months 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