Home > PHP > Function > SPL > spl_autoload_unregister()

spl_autoload_unregister()

spl_autoload_unregister - Unregister given function as __autoload() implementation

Syntax

bool spl_autoload_unregister (mixed $autoload_function)

Arguments

  • autoload_function - The autoload function being unregistered.

Description

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.

Version

PHP 5.1.2

Return value

Returns TRUE on success or FALSE on failure.