Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Gmagick::hasnextimageGmagick::implodeimage>
^GmagickLast updated: Mon, 26 Oct 2026

Gmagick::haspreviousimage

(PECL gmagick >= Unknown)

Gmagick::haspreviousimage — Checks if the object has a previous image

Description

public function Gmagick::haspreviousimage(): mixed

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

Parameters

This function has no parameters.

Return Values

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

Errors/Exceptions

Throws an GmagickException on error.


<Gmagick::hasnextimageGmagick::implodeimage>
^GmagickLast updated: Mon, 26 Oct 2026