Skip to content
PHP Ecosystem
Explore

DumpKind

API reference › Debug Core › Panel › Log › DumpKind

enumPHPForge\Debug\Panel\Log\DumpKind
Sourcesrc/Panel/Log/DumpKind.php

Represents the kinds of value a dump tree distinguishes.

A print_r() dump yields only blocks, recursion markers, and untyped DumpKind::SCALAR text.

CaseValueDescription
ARRAYArray block.
BOOLEANBoolean, with its text as printed.
ENUMEnum block, or a var_export() case reference with the case name as text and no entries.
FLOATFloat, with its text as printed.
INTEGERInteger, with its text as printed.
NULLnull, with its text as printed.
OBJECTObject block.
RECURSIONRecursion marker print_r() prints instead of an array or object block.
SCALARUntyped print_r() text, empty for '', null, and false.
STRINGString, with its decoded value as text.