phpday 2027 - Call for Papers

Imagick::count

(PECL imagick 3 >= 3.3.0)

Imagick::count — Get the number of images

Description

public function Imagick::count(int $mode = 0): int

Returns the number of images.

Parameters

mode

An unused argument. Currently there is a non-particularly well defined feature in PHP where calling count() on a countable object might (or might not) require this method to accept a parameter. This parameter is here to be conformant with the interface of countable, even though the param is not used.

Return Values

Returns the number of images.

User Contributed Notes

There are no user contributed notes for this page.
Adding new notes is disabled. Please see the links in the Found A Problem? section.
To Top