Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


Whether One-line comment begin with pound sing(#) in php?

Answers were Sorted based on User's Feedback



Whether One-line comment begin with pound sing(#) in php?..

Answer / sona

Yes we can give # or // for oneline command

example

//hai
#echo "hai";

Is This Answer Correct ?    13 Yes 2 No

Whether One-line comment begin with pound sing(#) in php?..

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

Post New Answer

More PHP Interview Questions

how to use particular city location in php?

1 Answers   TCS,


Is php a case sensitive language?

0 Answers  


Does session expire on closing browser?

0 Answers  


What is $_ request?

0 Answers  


How do you set the browser timeout?

3 Answers  






What is php and its advantages?

0 Answers  


How do you remove duplicates from an array?

0 Answers  


What is traits? How it is used in php?

0 Answers  


Give small demo of writting OOP in PHP-mysql.

1 Answers   TCS,


How many ways I can redirect a PHP page?

9 Answers   MicroSec, N-Tier Business Solutions, University Exams,


What are include() and require() functions?

0 Answers  


How to parse configuration file in php?

0 Answers  






Categories