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 version of php do I have windows?
Is there an easy way to delete an element from a php array?
Do you know how can we check the value of a given variable is a number?
what is code for email sending through localhost pc..?
What is chrome logger?
What is use of header() function in php?
What is polymorphism with example in php?
how to track no of users logged in?
I went to an php interview yesterday.I got selected there.But,They asked me to sign bond by submitting my certificates for 2 years.Is it good or bad
How to concatenate two strings in php?
How is php different from other languages?
What are psrs?