A not-so-pretty method to show pretty output ;-).
public static get_output ( mixed $var, string $title = '', boolean $escape = true, string $space = '', boolean $short = false, integer $depth ) : string | ||
$var | mixed | Variable to show. |
$title | string | (optional) Variable title. |
$escape | boolean | (optional) Whether to character escape the textual output. |
$space | string | (internal) Indentation spacing. |
$short | boolean | (internal) Short or normal annotation. |
$depth | integer | (internal) The depth of the current recursion. |
Результат | string |