Debugger
class Debugger
Helper methods to debug PHP applications
Methods
static void
printVariable(mixed $variable)
Print human-readable information about a variable, wrapped in a <pre> block.
static never
printVariableAndDie(mixed $variable)
Print human-readable information about a variable, wrapped in a <pre>
block, then halt execution.
static void
register()
Populate the global namespace with print_r() and dieprint_r() functions.
Details
at line 16
static void
printVariable(mixed $variable)
Print human-readable information about a variable, wrapped in a <pre> block.
at line 28
static never
printVariableAndDie(mixed $variable)
Print human-readable information about a variable, wrapped in a <pre>
block, then halt execution.
at line 42
static void
register()
Populate the global namespace with print_r() and dieprint_r() functions.
They're convenient aliases for the static methods of this class.