PHP 手册
上一页 |  | 下一页

# Phar::apiVersion

(no version information, might be only in CVS)

Phar::apiVersion -- Returns the api version

## 说明

string Phar::apiVersion ( void )

Return the API version of the phar file format that will be used when creating phars. The Phar extension supports reading API version 1.0.0 or newer.

## 参数

## 返回值

The API version string as in `"1.0.0"`.

## 范例

例 1. A Phar::apiVersion() example

`<?php echo Phar::apiVersion(); ?>`

上例将输出：

    1.0.0

上一页 | 起始页 | 下一页
Phar archive stream and classes | 上一级 | Phar::canCompress