__autoload()
__autoload(string $classname)
This PHP magic function gets called whenever a script uses a yet undefined classname, which can be for subclassing, for constructing ("new" keyword), or for calling static methods or attributes.
Parameters
string | $classname |