php8.5
Home/ Manual/ imagick / imagick/ Imagick::getResourceLimit

Imagick::getResourceLimit

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Returns the specified resource limit

Description

Imagick::getResourceLimit(int $type): int

Returns the specified resource limit.

Parameters

type

One of the resourcetype constants.

Return Values

Returns the specified resource limit. The unit depends on the type of the resource being limited.

Errors/Exceptions

Throws

See Also

  • Imagick::setResourceLimit

Source: reference/imagick/imagick/getresourcelimit.xml · from the official PHP manual (php/doc-en)