1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-30 09:39:51 +02:00

Improve dumping methods if run from terminal

This commit is contained in:
Peter Knut
2024-11-05 15:56:57 +01:00
parent 2430ad2702
commit b1ecb0649e

View File

@@ -2,9 +2,19 @@
function dump($value)
{
$cli = PHP_SAPI == 'cli';
if (!$cli) {
echo "<pre>";
}
var_export($value);
echo "</pre>\n";
if (!$cli) {
echo "</pre>";
}
echo "\n";
}
function dumpe($value)