spl_autoload_unregister

(PHP 5 >= 5.1.0RC1)

spl_autoload_unregister -- Unregister given function as __autoload() implementation

Description

bool spl_autoload_unregister ( mixed autoload_function )

Unregister a function from the spl provided __autoload stack. If the stack is activated and empty after unregistering the given function then it will be deactivated. When unregistering is successful the return value is true and upon failure false is being returned.

When this function results in the autoload stack being activated an existing __autoload function will not be reactivated.