Solar::dump()

static public void Solar::dump ( mixed $var , string $label = NULL )

Dumps a variable to output.

Parameters

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

  • (string) $label: A label for the dumped output.

Returns

  • (void)

Description

Dumps a variable to output.

Essentially, this is an alias to the Solar_Debug_Var::dump() method, which buffers the » var_dump for a variable, applies some simple formatting for readability, » echos it, and prints with an optional label. Use this for debugging variables to see exactly what they contain.



Local