function dump($vars, $label = '', $return = false) {
if (ini_get('html_errors')) {
$content = "
\n"; <br>if ($label != '') { <br>$content .= "<strong>{$label} :</strong>\n"; <br>} <br>$content .= htmlspecialchars(print_r($vars, true)); <br>$content .= "\n
Copy after login
\n";
} else {
$content = $label . " :\n" . print_r($vars, true);
}
if ($return) { return $content; }
echo $content;
return null;
}