Q. Which PHP feature allows accessing inaccessible object properties?

  • (A) Magic methods
  • (B) Reflection
  • (C) Traits
  • (D) Namespaces
πŸ’¬ Discuss
βœ… Correct Answer: (B) Reflection
Explanation: Reflection can access private and protected members.
Explanation by: Yami Thakur
Reflection can access private and protected members.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
42
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
84%
Success Rate