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 |
Write a program in php to find the occurrence of a word in a string?
how we can crop an image and how we can display it..
What is list function with their uses.
How do I escape data before storing it into the database?
tel me any 2 regular expressions with example
Tell me how can we check the value of a given variable is alphanumeric?
What is PHP?
How many types of array are there in php?
Is it possible to destroy a cookie?
What is the goto statement useful for?
What do you use php for?
PHP can be used frontend of for backend?