Overview

Packages

  • LegiScan
    • API
    • Cache
    • Common
    • Exceptions
    • Utility
  • PHP

Functions

  • expect_user
  • is_cli
  • legiscan_getopt
  • legiscan_help
  • legiscan_option
  • memory_usage
  • prettyPrint
  • sec2hms
  • timer_clear
  • timer_read
  • timer_start
  • timer_stop
  • yes_no_prompt
  • Overview
  • Package
  • Function

Function memory_usage

Get the current and peak memory usage as a string for logging

Package: LegiScan\Common
Located at common.php
Return value summary
string The memory usage log message
LegiScan API Client API documentation generated by ApiGen