var_dump prettier code example
Example 1: beautify var_dump
echo '<pre>' . var_export($data, true) . '</pre>';
Example 2: vardump pretty print
highlight_string("<?php\n\$data =\n" . var_export($data, true) . ";\n?>");
echo '<pre>' . var_export($data, true) . '</pre>';
highlight_string("<?php\n\$data =\n" . var_export($data, true) . ";\n?>");