PHP 8.4.0 RC4 available for testing

Imagick::getResource

(PECL imagick 2, PECL imagick 3)

Imagick::getResourceReturns the specified resource's memory usage

Descrizione

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

Returns the specified resource's memory usage in megabytes.

Elenco dei parametri

type

Refer to the list of resourcetype constants.

Valori restituiti

Returns the specified resource's memory usage in megabytes.

Errori/Eccezioni

Lancia una ImagickException in caso di errore.

add a note

User Contributed Notes

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