(PHP 5 >= 5.1.0, PHP 7, PHP 8)
spl_autoload_unregister — 注銷已注冊(cè)的 __autoload() 函數(shù)
從 autoload 自動(dòng)裝載函數(shù)隊(duì)列中移除指定的函數(shù)。如果該函數(shù)隊(duì)列處于激活狀態(tài),并且在給定函數(shù)注銷后該隊(duì)列變?yōu)榭?,則該函數(shù)隊(duì)列將會(huì)變?yōu)闊o效。
如果該函數(shù)注銷后使得自動(dòng)裝載函數(shù)隊(duì)列無效,即使存在有 __autoload 函數(shù)它也不會(huì)自動(dòng)激活。
autoload_function要注銷的自動(dòng)裝載函數(shù)。
成功時(shí)返回 true, 或者在失敗時(shí)返回 false。