adplus-dvertising
frame-decoration

Question

These # MY PHP File? and // My PHP File? statements are example of

a.

Single line comment

b.

Multiline comments

c.

Variable declaration

d.

None of them

Posted under PHP

Answer: (a).Single line comment

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. These # MY PHP File? and // My PHP File? statements are example of

Similar Questions

Discover Related MCQs

Q. Performing automatic type variable conversion is an example of

Q. This statement /* My PHP File */ is an example of

Q. All variables in PHP are assigned with the

Q. Get, Post, Cookies and Sessions all are examples of

Q. A package is a set of related _________

Q. Till which version of PHP, developers were forced to name their files in a global context?

Q. Which of the following can you place inside a namespace?

i) classes
ii) functions
iii) variables

Q. Which one of the following is the correct way of declaring a namespace?

Q. Which symbol is used to declare nested namespaces?

Q. Which keyword can be used to fix the above error?

Q. Which one of the following statements is true for include_once() and require_once()?

Q. Which one of the following statements is true for require() and require_once()?

Q. Which function was introduced to help automate the inclusion of class files?

Q. How many times can you define __autoload in a process?

Q. Which one of the following functions will you use to check that the class exists before you work with it?

Q. Which one of the following will you use to check the class of an object?

Q. PHP 4 did not support instanceof. Instead, which function did it provide?

Q. You use the get_class_methods() function to return the names of all the methods in the class. Which function will you use to print it on the screen?

Q. If you call a method and it doesn’t exist it’ll cause a problem. To check the method which function will you use?

Q. What will be the output if a protected method is given as argument to the function method_exist()?