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 do you use an array in excel?
What is the difference between characters 34 and x34?
What are the functions of string?
How a variable is declared in php?
How can you retrieve a cookie value?
Tell me whether it is possible to share a single instance of a memcache between multiple php projects?
How long does a session last in php?
How to make database connection in php?
What are the advantages of using php?
What is the meaning of a final class and a final method?
What are sql functions?
How to get the length of string?
Why do we use namespace in php?
What is helper library?
Explain what is the difference between for and foreach?