Imagick
PHP Manual

Imagick::hasPreviousImage

(PECL imagick 2.0.0)

Imagick::hasPreviousImageChecks if the object has a previous image

说明

bool Imagick::hasPreviousImage ( void )

Returns TRUE if the object has more images when traversing the list in the reverse direction

返回值

Returns TRUE if the object has more images when traversing the list in the reverse direction, returns FALSE if there are none.


Imagick
PHP Manual