Documentation

Debug
in package

A class that handles various debugging related things

Table of Contents

$fd  : resource|false
$hcount  : int
flush()  : void
Flush the output stream
head()  : void
Display a string in an X-DEBUG-INFO header
show()  : void
Display a string
vdump()  : void
Dump a variable - uses buffering to grab the output.
setup()  : void
Set up the debug text file

Properties

$fd

private static resource|false $fd = FALSE

$hcount

private static int $hcount = 0

Methods

flush()

Flush the output stream

public static flush() : void
Return values
void

head()

Display a string in an X-DEBUG-INFO header

public static head(string $str) : void
Parameters
$str : string
Return values
void

show()

Display a string

public static show(string $str) : void
Parameters
$str : string
Return values
void

vdump()

Dump a variable - uses buffering to grab the output.

public static vdump(array<string|int, mixed> ...$vars) : void
Parameters
$vars : array<string|int, mixed>
Return values
void

setup()

Set up the debug text file

private static setup() : void
Return values
void

Search results