Vidyalelo
PHP · Q60

Object Oriented Concept

Programming · PHP · question 60

Q60

Which one of the following functions is used to determine whether a class exists?

A.
exist()
B.
exist_class()
C.
class_exist()
Answer
D.
__exist()

Answer: Option C

Solution

Answer: Option C
Solution:
The class_exist() function returns true or false according to whether the class exists within the currently executing script content.