Question : var_dump beautifier
Answered by : christoph-kern
//Var-Export
echo '<pre>' . var_export($data, true) . '</pre>';
//Function
function highlight_array($array, $name = 'var') { highlight_string("<?php\n\$$name =\n" . var_export($array, true) . ";\n?>");
}
Source : | Last Update : Fri, 27 May 22
Question : beautify var_dump
Answered by : light-lyrebird-dts6265dou33
echo '<pre>' . var_export($data, true) . '</pre>';
Source : https://stackoverflow.com/questions/19816438/make-var-dump-look-pretty/19816742 | Last Update : Tue, 08 Sep 20