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 |
What is difference between web service and api?
Which function can be used to delete a file?
Can I learn laravel without php?
What is the static variable in function useful for?
How we get ip address of client, previous reference page etc?
Tell me how to create a session? How to set a value in session? How to remove data from a session?
what is hidden variable? what is its difference with the normal variable...
Can you define an argument as a reference type?
Tell me what is the main difference between php 4 and php 5?
hi to all i am fresher in php and want to learn php and want a fresher job in php. how to total time i expend to learn php and what is freshers salary.
Where are cookies stored php?
what type of images that the PHP version supports