Method | Description | |
---|---|---|
dump ( mixed $var, integer $depth = 10, boolean $highlight = false ) | Displays a variable. | |
dumpAsString ( mixed $var, integer $depth = 10, boolean $highlight = false ) : string | Dumps a variable in terms of a string. | |
export ( mixed $var ) : string | Exports a variable as a string representation. |
Method | Description | |
---|---|---|
dumpInternal ( mixed $var, integer $level ) | ||
exportClosure ( Closure $closure ) : string | Exports a [[Closure]] instance. | |
exportInternal ( mixed $var, integer $level ) |
public static dumpAsString ( mixed $var, integer $depth = 10, boolean $highlight = false ) : string | ||
$var | mixed | variable to be dumped |
$depth | integer | maximum depth that the dumper should go into the variable. Defaults to 10. |
$highlight | boolean | whether the result should be syntax-highlighted |
return | string | the string representation of the variable |