PEAR_Autoloader::__call() – Overloaded object call handler


require_once 'PEAR/autoloader.php';

mixed PEAR_Autoloader::__call ( string $method , string $args , mixed &$retval )


Overloaded object call handler, called each time an undefined/aggregated method is invoked. This method repeats the call in the right aggregate object and passes on the return value.


string $method

which method that was called

string $args

An array of the parameters passed in the original call

mixed &$retval

Return value

mixed - The return value from the aggregated method, or a PEAR_Error if the called method was unknown.


Possible PEAR_Error values
Error code Error value Meaning Solution


This function can not be called statically.

Remove an autoload entry (Previous) PEAR_Builder (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.