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

search for in the

Phar::isValidPharFilename> <Phar::isCompressed
[edit] Last updated: Fri, 17 May 2013

view this page in

Phar::isFileFormat

(PHP >= 5.3.0, PECL phar >= 2.0.0)

Phar::isFileFormatRetourne TRUE si l'archive phar est basée sur le formats de fichier tar/phar/zip selon le paramètre

Description

bool Phar::isFileFormat ( int $format )

Liste de paramètres

format

Soit Phar::PHAR, soit Phar::TAR, soit Phar::ZIP pour tester le format de fichier de l'archive.

Valeurs de retour

Retourne TRUE si l'archive phar utilise le format de fichier spécifié en paramètre

Erreurs / Exceptions

Une exception PharException est levée sur le paramètre est un format de fichier inconnu.

Voir aussi



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

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