哈希空间 Ctrl + F 进行搜索
首页 php手册中文版 CSS中文手册 哈希文档 Markdown在线工具

Imagick::count

(PECL imagick 3 >= 3.3.0)

Imagick::countGet the number of images

说明

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

Returns the number of images.

参数

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.

返回值

Returns the number of images.

打开 哈希空间 微信小程序中查看更佳