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

search for in the

Phar::isValidPharFilename> <Phar::isCompressed
Last updated: Fri, 14 Nov 2008

view this page in

Phar::isFileFormat

(No version information available, might be only in CVS)

Phar::isFileFormatphar アーカイブが、パラメータで指定した tar/phar/zip のいずれかの形式である場合に true を返す

説明

bool Phar::isFileFormat ( int $format )

パラメータ

format

Phar::PHARPhar::TAR あるいは Phar::ZIP で、アーカイブの形式を指定します。

返り値

phar アーカイブのファイル形式がパラメータで指定したものと一致する場合に TRUE を返します。

エラー / 例外

パラメータで指定した内容が既知の形式でない場合に PharException をスローします。



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

Phar::isValidPharFilename> <Phar::isCompressed
Last updated: Fri, 14 Nov 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites