Method | Description | |
---|---|---|
pretty ( $var, $compact = false, $force_object = false, $level ) |
static public pretty ( $var, $compact = false, $force_object = false, $level ) | ||
$force_object | Outputs an object rather than an array when a non- associative array is used. Especially useful when the recipient of the output is expecting an object and the array is empty. |