(PECL imagick 2, PECL imagick 3)
Imagick::getResourceLimit — Returns the specified resource limit
$type
): int
Returns the specified resource limit.
type
One of the resourcetype constants. The unit depends on the type of the resource being limited.
Returns the specified resource limit in megabytes.
错误时抛出 ImagickException。