略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: Imagick::getResource

2024-12-22

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 noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/imagick.getresource.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3