Whether One-line comment begin with pound sing(#) in php?
Answer Posted / nutan bhatnagar
There are three way to comment a code two are for single
line and one for mulitple line.
For Single line comment
// echo hello ;
# echo hello;
For Multiple line comment
/*
echo hello;
echo "Happy New Year - 2010"
*/
| Is This Answer Correct ? | 7 Yes | 2 No |
Post New Answer View All Answers
How to download and install php on windows?
How to return ascii value of character in php?
Is php a case sensitive language?
Tell us how can we access the data sent through the url with the post method?
What is the difference between "echo" and "print" in php?
What is the difference between core php and php?
How do you create an array in php?
How to check a variable is an array or not in php?
How many functions are there in php?
What is difference between php and wordpress?
What is the difference between $argv and $argc? Give example?
How cookies are transported from browsers to servers?
What is $$ in php?
How is it possible to propagate a session id?
How do I run php?