class Dumper

Dumps a variable.

Constants

DEPTH

TRUNCATE

COLLAPSE

COLLAPSE_COUNT

LOCATION

OBJECT_EXPORTERS

LIVE

DEBUGINFO

KEYS_TO_HIDE

LOCATION_SOURCE

LOCATION_LINK

LOCATION_CLASS

HIDDEN_VALUE

Properties

static array $terminalColors
static array $resources
static array $objectExporters
static string $livePrefix

Methods

static mixed
dump($var, array $options = null)

Dumps variable to the output.

static string
toHtml($var, array $options = null)

Dumps variable to HTML.

static string
toText($var, array $options = null)

Dumps variable to plain text.

static string
toTerminal($var, array $options = null)

Dumps variable to x-terminal.

static array
fetchLiveData()

No description

static string
encodeString($s, $maxLength = null)

No description

Details

at line 75
static mixed dump($var, array $options = null)

Dumps variable to the output.

Parameters

$var
array $options

Return Value

mixed variable

at line 92
static string toHtml($var, array $options = null)

Dumps variable to HTML.

Parameters

$var
array $options

Return Value

string

at line 131
static string toText($var, array $options = null)

Dumps variable to plain text.

Parameters

$var
array $options

Return Value

string

at line 141
static string toTerminal($var, array $options = null)

Dumps variable to x-terminal.

Parameters

$var
array $options

Return Value

string

at line 407
static array fetchLiveData()

No description

Return Value

array

at line 424
static string encodeString($s, $maxLength = null)

internal  
 

No description

Parameters

$s
$maxLength

Return Value

string UTF-8