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 |
Does php support multiple inheritances?
How do I escape data before storing it into the database?
What is sorting php?
What are different types of runtime errors in php?
How can I display text with a php script?
Difference between notify url, return url in paypal payment gateway?
4 Answers A1 Technology, Capital IQ, CMS, Essar, HCL, IAS, Karvy, L&T, State Bank Of India SBI, TATA, Tisco, WNS,
Explain what are psrs?
What is the alternative structure for control structures?
Is php easy language to learn?
Is it easy to learn php?
Explain how can php and javascript interact?
How to get the position of the character in a string in php?