Sends a formatted dump of a variable to a string.
static string
dump
(mixed $variable)
-
mixed
$variable: Variable to display.
Clips a string to a maximum length.
string
clipString
(string $value, integer $size, integer $position)
-
string
$value: String to truncate.
-
integer
$size: Minimum string size to show.
-
integer
$position: Centre of string section.
Creates a human readable description of the difference between two variables. Uses a dynamic call.
string
describeDifference
(mixed $first, mixed $second, [boolean $identical = false])
-
mixed
$first: First variable.
-
mixed
$second: Value to compare with.
-
boolean
$identical: If true then type anomolies count.
Renders a variable in a shorter form than print_r().
string
describeValue
(mixed $value)
-
mixed
$value: Variable to render as a string.
Gets the string representation of a type.
string
getType
(mixed $value)
-
mixed
$value: Variable to check against.