Imagick::getResourceLimit

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceLimitReturns the specified resource limit

說明

public static Imagick::getResourceLimit(int $type): int

Returns the specified resource limit.

參數(shù)

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。

參見