function debug($content){
$content = is_bool($content) ? "bool(".($content ? "true" : "false").")" : $content;
echo PHP_SAPI == "cli" ?
"\n".print_r($content, true)."\n"
: "<pre class=\"debug\">".htmlentities(print_r($content, true), ENT_QUOTES, "UTF-8")."</pre>";
}
function debug($content){
$content = is_bool($content) ? "bool(".($content ? "true" : "false").")" : $content;
echo PHP_SAPI == "cli" ?
"\n".print_r($content, true)."\n"
: "<pre class=\"debug\">".htmlentities(print_r($content, true), ENT_QUOTES, "UTF-8")."</pre>";
}