• Home
  • Which of the following magic constant of PHP returns class name?
Question 1:
Which of the following magic constant of PHP returns class name?
A. _LINE_
B. _FILE_
C. _FUNCTION_
D. _CLASS_
Feedback The class name. (Added in PHP 4.3.0) As of PHP 5 this constant returns the class name as it was declared (case-sensitive). In PHP 4 its value is always lowercased.

These questions are from this test. Would you like to take a practice test?

PHP Quiz 5 | Englishfreetest.com