How many Types of COmments are there in PHP and what are they?
Answers were Sorted based on User's Feedback
Answer / shivakumar naik
PHP supports 3 types of comments
1. /* C style */
2. // C++ style
3. # perl style
| Is This Answer Correct ? | 25 Yes | 4 No |
Answer / aditya sharma
single line comment
// OR #
multiline comment
/* ------------------- */
| Is This Answer Correct ? | 20 Yes | 5 No |
Answer / ramesh n
two ways
single line comment
//
multi line comment
/* ------------------- */
| Is This Answer Correct ? | 15 Yes | 6 No |
How many types of php frameworks are there?
What happens if an expected input field was not submitted?
Explain some of the php array functions?
What is the difference between print() and echo()?
Does strlen include null?
How to compare two strings with comparison operators in php?
How can we submit a form without using submit buttons?
What is singleton pattern in php?
what is the difference between GET,POST and REQUEST in php
What does $_server means?
What are the features of php 7?
How can we find the number of rows in a result set using PHP?