1 Reflection is generally defined as a program’s ability to inspect itself and modify its logic at execution time.
2 Without the concept of reflection, duck-typing would most likely be impossible to implement.
3 In this code, we assign the reflection class’ instance to the $reflector variable so that we can now trigger its methods.