Debug
in package
A class that handles various debugging related things
Table of Contents
- $fd :
- $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
$fd
= FALSE
The file descriptor
$hcount
private
static int
$hcount
= 0
header count
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<, mixed> ...$vars) : void
Parameters
- $vars : array<, mixed>
Return values
void —setup()
Set up the debug text file
private
static setup() : void