Dumper
class Dumper (View source)
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 | List warna ascii untuk console. |
|
static array | $resources | List jenis resource PHP. |
|
static array | $objectExporters | List kelas object exporter. |
|
static string | $livePrefix | Prefix untuk live data. |
Methods
static mixed
dump($var, array $options = null)
Dump isi variable sebagai string.
static string
toHtml($var, array $options = null)
Dump isi variabel sebagai HTML.
static string
toText($var, array $options = null)
Dump isi variabel sebagai teks biasa.
static string
toTerminal($var, array $options = null)
Dump isi variabel ke terminal.
static array
fetchLiveData()
Tangkap live data.
static string
encodeString($s, $maxLength = null)
Encode string ke UTF-8.
Details
static mixed
dump($var, array $options = null)
Dump isi variable sebagai string.
static string
toHtml($var, array $options = null)
Dump isi variabel sebagai HTML.
static string
toText($var, array $options = null)
Dump isi variabel sebagai teks biasa.
static string
toTerminal($var, array $options = null)
Dump isi variabel ke terminal.
static array
fetchLiveData()
Tangkap live data.
static string
encodeString($s, $maxLength = null)
Encode string ke UTF-8.