User Tools

Site Tools


uphp:functions:mem_dump

mem_dump

WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0

Write the current memory map to /dump.txt

Description

Usage 1

mem_dump ( )

Usage 2 (FW > 1217)

string mem_dump ( string $address, int len )

Parameters

Passing no parameters will cause the memory block structure to be written to /dump.txt.

Passing an address (hex string) and a length will return a hex encoded string of the contents of the memory area.

Return Values

None

Example

Create or overwrite the file /dump.txt

<?
  mem_dump();
?>

See Also

mem_usage() - Write memory usage to standard output

freemem() - Return free memory space

Memory Limit Challenges to Programming the Wattmon

nvram_dump() - Dump the contents of NVRAM to standard output

print_r() - Dump the contents of an array to the current output

uphp/functions/mem_dump.txt · Last modified: 2022/03/30 08:27 by admin