Previous Page
dump()

Solar_Debug_Var
fetch()

Next Page
locale()

fetch()

public string fetch ( mixed $var )

Returns formatted output from var_dump().

Parameters

  • (mixed) $var: The variable to dump.

Returns

  • (string) The formatted results of var_dump().

Description

Returns formatted output from var_dump().

Buffers the var_dump for a variable and applies some simple formatting for readability.

Note that this overrides the Solar_Base::dump() behavior entirely.