Which magic method is used to implement overloading in PHP?
A
__call
B
__invoke
C
__wakeup
D
__unset
Correct Answer: __call
When a class implements __call(), then an object of that class is called with a method that doesn’t exist, __call() is called instead.