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
Can I use php in html?
Does php 7 support mysql?
What is move_uploaded_file in php?
How do functions work?
What are the characteristics of php variables?
How to access a global variable inside a function?
What new features php7 has in store for us?
What is strstr php?
What is the difference between php and javascript?
Can you define an array argument as a reference type?
What is difference between isset and empty in php?
How to convert strings in hex format?
What is the difference between get & post ?
How to remove duplicate values from php array?
How to access a Static Member of a Class in PHP?