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
What is the difference between characters and #?
Which Scripting Engine PHP uses?
What is php and why we use it?
Tell me what is the use of mysql_real_escape_string() function?
What is session and Cokkies . How it works . tell some thing about Session_id()
Which is a perfect example of runtime polymorphism?
What is the name of scripting engine in php?
What is php glob?
What is $_ files in php?
What type of comments are supported by PHP.
How do you destroy a session?
How does php sessions work?
Why use static methods php?
How to convert strings to numbers in php?
What is overloading and overriding in oop?