Function __global->memory_get_usage

Definitions

sources_custom/phpstub.php

  • Returns the amount of memory allocated to PHP.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: int

Parameters

Name Type Default Set Range Description
$real_usage boolean False N/A N/A Get total memory allocated, including unused pages

Return

  • The amount of memory, in bytes, that's currently being allocated to your PHP script
  • Type: integer
  • Set: N/A
  • Range: N/A