LuaSandbox::getMemoryUsage
PHP Manual
PHP Manual»LuaSandbox»LuaSandbox::getMemoryUsage

LuaSandbox::getMemoryUsage

(PECL luasandbox >= 1.0.0)

LuaSandbox::getMemoryUsageFetch the current memory usage of the Lua environment

Опис

public function LuaSandbox::getMemoryUsage(): int

Fetches the current memory usage of the Lua environment.

Параметри

У цієї функції немає параметрів.

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

Returns the current memory usage in bytes.

Прогляньте також

To Top