PHP - Manual: LuaSandbox::getMemoryUsage
2024-12-20
(PECL luasandbox >= 1.0.0)
LuaSandbox::getMemoryUsage — Fetch the current memory usage of the Lua environment
Fetches the current memory usage of the Lua environment.
此函数没有参数。
Returns the current memory usage in bytes.
官方地址:https://www.php.net/manual/en/luasandbox.getmemoryusage.php