Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Phar::getSupportedCompressionPhar::getVersion>
^PharLast updated: Mon, 26 Oct 2026

Phar::getSupportedSignatures

(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL phar >= 1.1.0)

Phar::getSupportedSignatures — Return array of supported signature types

Description

final public static function Phar::getSupportedSignatures(): array

Return array of supported signature types

Parameters

No parameters.

Return Values

Returns an array containing any of MD5, SHA-1, SHA-256, SHA-512, or OpenSSL.

See Also


<Phar::getSupportedCompressionPhar::getVersion>
^PharLast updated: Mon, 26 Oct 2026