Bachelor Of Computer Science

PHP MCQs

CS: PHP MCQs - Subtopic

Introspection Functions MCQ with Answers

Introspection Functions Multiple Choice Questions (MCQ) to practice introspection functions quiz answers PDF, introspection functions worksheets for online degrees. Solve advance php Multiple Choice Questions and Answers (MCQs), "Introspection Functions Quiz Questions" and answers for online bachelor's degree computer science. Learn object oriented programming, oop styles in php, introspection functions, overriding functions test prep for computer majors.

"Which version of PHP support get_declared_classes ( ) function?" Multiple Choice Questions (MCQ) on introspection functions with choices php3.0.0, php4.0.0, php5.0.1, and php6 for online bachelor's degree computer science. Solve introspection functions quiz questions for merit scholarship test and certificate programs for master's degree in computer science.

MCQs on Introspection Functions

1.

Which version of PHP support get_declared_classes ( ) function?

PHP3.0.0
PHP4.0.0
PHP5.0.1
PHP6

2.

For finding the data in the object is valid and consistent across the instance which function is used?

__sleep ( )
__wakeup ( )
__test ( )
selfTest ( )

3.

get_class ( ) function returns the name of class from where

A function belongs to
An object belongs to
A constructor belongs to
All of them

4.

Which function returns TRUE if the string argument is the name of a class?

get_class ( )
exist_class ( )
class_exists
None of them

5.

If everything is fine in the object the selftest ( ) function returns what?

TRUE
FALSE
Diagnostic string
Noting