personal_area_php/common/classes/Debug.php

20 lines
451 B
PHP
Raw Normal View History

2024-04-24 18:02:58 +03:00
<?php
namespace common\classes;
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();
}
}