Inspector
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)
Identifies the file and line from where the failed eval() was executed
static string
type(mixed $value)
Gets the type name of a variable with get_debug_type() when available; otherwise, falls back to gettype()
static bool
regex(string $expression, string|null $errorMessage, int|null $errorCode)
Utility to check if a regex expression contains issues
Details
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)
Identifies the file and line from where the failed eval() was executed
static string
type(mixed $value)
Gets the type name of a variable with get_debug_type() when available; otherwise, falls back to gettype()
static bool
regex(string $expression, string|null $errorMessage, int|null $errorCode)
Utility to check if a regex expression contains issues