igfs/kernel/helpers/Debug.php

20 lines
451 B
PHP
Raw Normal View History

2024-07-08 16:20:25 +03:00
<?php
2024-09-11 17:38:46 +03:00
namespace kernel\helpers;
2024-07-08 16:20:25 +03:00
class Debug
{
public static function prn($content)
{
echo '<pre style="background: lightgray; border: 1px solid black; padding: 2px">';
print_r($content);
echo '</pre>';
}
public static function dd($content)
{
echo '<pre style="background: lightgray; border: 1px solid black; padding: 2px">';
print_r($content);
echo '</pre>';
die();
}
}