略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Phar::getVersion

2024-11-15

Phar::getVersion

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

Phar::getVersionReturn version info of Phar archive

说明

public Phar::getVersion(): string

Returns the API version of an opened Phar archive.

参数

返回值

The opened archive's API version. This is not to be confused with the API version that the loaded phar extension will use to create new phars. Each Phar archive has the API version hard-coded into its manifest. See Phar file format documentation for more information.

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/phar.getversion.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3