Imagick
在线手册:中文 英文
PHP手册

Imagick::getVersion

(PECL imagick 2.0.0)

Imagick::getVersionReturns the ImageMagick API version

说明

array Imagick::getVersion ( void )

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

返回值

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

错误/异常

错误时抛出 ImagickException .


Imagick
在线手册:中文 英文
PHP手册
PHP手册 - N: Returns the ImageMagick API version

用户评论:

mwu at digitaltorque dot com (22-Feb-2011 07:40)

Since it's not clear from the documention what this function returns:

print_r(imagick::getVersion());

Array
(
    [versionNumber] => 1632
    [versionString] => ImageMagick 6.6.0-4 2010-11-16 Q16 http://www.imagemagick.org
)