Dutch PHP Conference 2025 - Call For Papers

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Опис

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

Returns the specified resource's memory usage in megabytes.

Параметри

type

Refer to the list of resourcetype constants.

Значення, що повертаються

Returns the specified resource's memory usage in megabytes.

Помилки/виключення

Кидає ImagickException в разі помилки.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top