Imagick
PHP Manual

Imagick::hasNextImage

(PECL imagick 2.0.0)

Imagick::hasNextImageChecks if the object has more images

说明

bool Imagick::hasNextImage ( void )

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

返回值

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


Imagick
PHP Manual