PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

spl_autoload> <spl_autoload_register
Last updated: Fri, 05 Sep 2008

view this page in

spl_autoload_unregister

(PHP 5 >= 5.1.2)

spl_autoload_unregister指定した関数の、__autoload() の実装としての登録を解除する

説明

bool spl_autoload_unregister ( mixed $autoload_function )

spl が提供する __autoload スタックから、関数の登録を解除します。 スタックがアクティブであり、かつこの関数の実行後にスタックが空になった場合は スタックが非アクティブ化されます。

この関数の結果として autoload スタックがアクティブになったとした場合に、 既存の __autoload 関数が再アクティブ化されることはありません。

パラメータ

autoload_function

登録を解除したい autoload 関数。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
spl_autoload_unregister
There are no user contributed notes for this page.

spl_autoload> <spl_autoload_register
Last updated: Fri, 05 Sep 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites