Function __global->memory_trace_point

Definitions

sources/developer_tools.php

  • Record the memory usage at this point.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$name ?string No No Null N/A N/A The name of the memory point (null: use a simple counter)

Preview

Code (PHP)

/**
 * Record the memory usage at this point.
 *
 * @param  ?string $name The name of the memory point (null: use a simple counter)
 */

function memory_trace_point(?string $name = null)