Intermediate
PHP
Q67 / 100
What is PHP's Reflection API used for?
Correct! Well done.
Incorrect.
The correct answer is B) Inspecting classes, interfaces, functions, and methods at runtime to get metadata
B
Correct Answer
Inspecting classes, interfaces, functions, and methods at runtime to get metadata
Explanation
ReflectionClass, ReflectionMethod, ReflectionProperty allow inspecting code structure at runtime — used by DI containers, ORMs, and testing frameworks.
Progress
67/100