Whether One-line comment begin with pound sing(#) in php?
Answers were Sorted based on User's Feedback
Answer / sona
Yes we can give # or // for oneline command
example
//hai
#echo "hai";
Is This Answer Correct ? | 14 Yes | 2 No |
Answer / 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 |
What is "echo" in php?
How do I stop php artisan serve in windows?
How to pass an argument to a function?
How to find a specific value in an array?
What is a php 5?
What is the use of header() function in php?
What is the difference between for and foreach loop in php?
What types images that php supports?
What is sorting php?
How error handling is being handled by php?
What are different types of Print Functions available in PHP?
How can we determine whether a variable is set?