class Inspector (View source)

Methods

static bool
caller(int $level, array $info, int $limit = 100)

Get caller from backtrace php scripts

static bool
evalSource(string $message, string $file, int $line)

Identify and get the possible source of an error message caused by eval()

static string
type(mixed $value)

Gets the type name of a variable with get_debug_type() when available; otherwise, falls back to gettype()

Details

static bool caller(int $level, array $info, int $limit = 100)

Get caller from backtrace php scripts

Parameters

int $level
array $info
int $limit

Return Value

bool

static bool evalSource(string $message, string $file, int $line)

Identify and get the possible source of an error message caused by eval()

Parameters

string $message
string $file
int $line

Return Value

bool

static string type(mixed $value)

Gets the type name of a variable with get_debug_type() when available; otherwise, falls back to gettype()

Parameters

mixed $value

Return Value

string