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

search for in the

spl_autoload_functions> <spl_autoload_call
Last updated: Fri, 13 Nov 2009

view this page in

spl_autoload_extensions

(PHP 5 >= 5.1.2)

spl_autoload_extensionsspl_autoload 用のデフォルトの拡張子を登録し、それを返す

説明

string spl_autoload_extensions ([ string $file_extensions ] )

この関数は、__autoload() 用の代替関数である spl_autoload() が使用するファイル拡張子を変更したり調べたりします。

パラメータ

file_extensions

引数なしでコールした場合は、現在の拡張子一覧をカンマ区切りで返します。 ファイル拡張子を変更するには、 新しい拡張子一覧をカンマ区切り文字列で表したものを引数に指定して、 この関数を実行します。

返り値

spl_autoload() のデフォルト拡張子の一覧をカンマ区切り形式で返します。



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

spl_autoload_functions> <spl_autoload_call
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites