Register Now

Login

Lost Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Which magic method is used to implement overloading in PHP?

a) _call
b) __invoke
c) __wakeup
d) _unset

Answer: a
Explanation: When a class implements __call(), then an object of that class is called with a method that doesn’t exist, __call() is called instead.

Join The Discussion