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

search for in the

mime_content_type> <finfo_open
[edit] Last updated: Fri, 24 May 2013

view this page in

finfo_set_flags

finfo::set_flags

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)

finfo_set_flags -- finfo::set_flagslibmagic のオプションを設定する

説明

手続き型

bool finfo_set_flags ( resource $finfo , int $options )

オブジェクト指向型

bool finfo::set_flags ( int $options )

この関数は、さまざまな Fileinfo オプションを設定します。 finfo_open() やその他の Fileinfo 関数で、 オプションを直接指定することも可能です。

パラメータ

finfo

finfo_open() が返す fileinfo リソース。

options

ひとつあるいは複数のFileinfo 定数の組み合わせ。

返り値

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



add a note add a note User Contributed Notes finfo_set_flags - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites