# Gmagick::getversion

(PECL gmagick >= Unknown)

Gmagick::getversion — Returns the GraphicsMagick API version

### 说明

public Gmagick::getversion(): array

Returns the GraphicsMagick API version as a string and as a number.

### 参数

此函数没有参数。

### 返回值

Returns the GraphicsMagick API version as a string and as a number.

### 错误／异常

错误时抛出 GmagickException。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open