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 does php serialize work?
What is encapsulation in php with example?
What type of language is php?
Explain me what is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
how to upload a file in php.write a syntex for that
What is the function of mysql_real_escape_string in php?
What is super () python?
How long does a php session last for?
What is the basic syntax of Php?
What Is a Persistent Cookie?
What are the different components used in php for formatting?
What type of errors can be occurred in php?