How can I set style to var_dump() function and PHP errors style, like on the next image? At the moment I have next view of var_dump() (with
var_dump(…)
, without it will be …
Tag: pretty-print
Pretty-Printing JSON with PHP
I’m building a PHP script that feeds JSON data to another script. My script builds data into a large associative array, and then outputs the data using json_encode. Here is an example script: The above code yields the following output: This is great if you have a small amount of data, but I’d pref…