Imagick
PHP Manual

Imagick::current

(PECL imagick 2.0.0)

Imagick::currentReturns a reference to the current Imagick object

说明

Imagick Imagick::current ( void )

Returns reference to the current imagick object with image pointer at the correct sequence.

返回值

Returns self on success.

错误/异常

错误时抛出 ImagickException .


Imagick
PHP Manual