Previous Page
apiVersion()

Solar_Debug_Var
display()

Next Page
dump()

display()

public string display ( mixed $var, string $label default NULL )

Prints the output of Solar_Debug_Var::fetch() with a label.

Parameters

  • (mixed) $var: The variable to dump.
  • (string) $label: A label to prefix to the dump.

Returns

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

Description

Prints the output of Solar_Debug_Var::fetch() with a label.

Use this for debugging variables to see exactly what they contain.