How many Types of COmments are there in PHP and what are they?

Answers were Sorted based on User's Feedback



How many Types of COmments are there in PHP and what are they?..

Answer / shivakumar naik

PHP supports 3 types of comments

1. /* C style */

2. // C++ style

3. # perl style

Is This Answer Correct ?    25 Yes 4 No

How many Types of COmments are there in PHP and what are they?..

Answer / aditya sharma

single line comment
// OR #

multiline comment
/* ------------------- */

Is This Answer Correct ?    20 Yes 5 No

How many Types of COmments are there in PHP and what are they?..

Answer / ramesh n

two ways

single line comment
//

multi line comment
/* ------------------- */

Is This Answer Correct ?    15 Yes 6 No

How many Types of COmments are there in PHP and what are they?..

Answer / zacharia

3

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More PHP Interview Questions

What is helper library?

0 Answers  


What are the encryption functions available in PHP?

0 Answers  


What is an anti csrf token?

0 Answers  


Does php support multiple inheritances?

0 Answers  


How to check a key exist in an array?

0 Answers  






HOW we can use css

3 Answers   ConSim, IPsoft,


Which framework is best for php?

0 Answers  


List some features of php that are deprecated in php7?

0 Answers  


What is htaccess?

1 Answers  


What is the method to execute a php script from the command line?

0 Answers  


What is variable declaration?

0 Answers  


Dear Sir, i am a frasher and now i got a job offer from AentteQ Software Technologies for PHP developer.. so i am in confusion that is PHP correct for my carrer or i shud choose other then php for my carrer...plz suggest me

4 Answers   NIIT,


Categories