This commit is contained in:
me
2026-07-23 15:29:13 +07:00
commit 9ec08a3e44
36 changed files with 2790 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
if (!function_exists('ndg')) {
function ndg(...$vars) {
if (PHP_SAPI === 'cli') {
var_dump(...$vars);
} else {
ob_start();
var_dump(...$vars);
$output = ob_get_clean();
echo '<pre>';
echo htmlspecialchars($output, ENT_QUOTES | ENT_SUBSTITUTE, 'UTF-8');
echo '</pre>';
}
}
}
if (!function_exists('nde')) {
function nde(...$vars) {
ndg(...$vars);
exit(1);
}
}