PHP 8.2.0 Alpha 2 available for testing


(PECL luasandbox >= 1.0.0)

LuaSandbox::getPeakMemoryUsageFetch the peak memory usage of the Lua environment


public LuaSandbox::getPeakMemoryUsage(): int

Fetches the peak memory usage of the Lua environment.


This function has no parameters.

Return Values

Returns the peak memory usage in bytes.

See Also

add a note add a note

User Contributed Notes

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