Imagick
PHP 手册

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 手册