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
Which are the best start and end tags to use?
What is the difference between mysql_fetch_array() and mysql_fetch_assoc()?
Does csrf token change?
What is the purpose of the following files having extensions: frm, myd, and myi? What these files contain?
How to check an element is exists in array or not in php?
What are the features of php?
What is use of preg_replace in php?
What is variable function php?
Can php use gettext?
Tell me what is the definition of a session?
Explain the differences between get and post methods?
How can we increase execution time of a php script?
Suppose your zend engine supports the mode Then how can you configure your php zend engine to support Mode ?
Which functions are used to remove whitespaces from the string?
How to check if a string contains a character or word in php?