Q. Which magic method is triggered when accessing undefined properties?

  • (A) __isset()
  • (B) __unset()
  • (C) __get()
  • (D) __call()
πŸ’¬ Discuss
βœ… Correct Answer: (C) __get()
Explanation: __get() is invoked when reading inaccessible properties.
Explanation by: Yami Thakur
__get() is invoked when reading inaccessible properties.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
59
Total Visits
πŸ“½οΈ
10 mo ago
Published
πŸŽ–οΈ
Yami Thakur
Publisher
πŸ“ˆ
83%
Success Rate