diff --git a/adminer/include/debug.inc.php b/adminer/include/debug.inc.php index 168f7b20..ec411539 100644 --- a/adminer/include/debug.inc.php +++ b/adminer/include/debug.inc.php @@ -8,7 +8,10 @@ function dump($value) echo "
"; } - var_export($value); + $export = var_export($value, true); + $export = preg_replace('~=>\s+array\s*~', "=> array", $export); + $export = preg_replace('~\(\s+\)~', "()", $export); + echo $export; if (!$cli) { echo "";