Module function reference

beautify

A reference entry for beautify

Module function · Utilities

beautify (mixed value) ⇒ string

Manual entry not found for function: beautify.

Notes

This method takes the value in, calculates the type of the value and then decides which way is best to output it. If the value checked is not an associative array, list or object then it simply runs the to_string method on the value.

Example

YASS
$value = ["name" => "Jamie", "language" => "YASS"]
print(Utilities::beautify($value))