πŸ“Š PHP
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

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