Загрузить файлы в «debug»

This commit is contained in:
parent bdd51bad90
commit 62331d372c

20
debug/Debug.php Normal file
View File

@ -0,0 +1,20 @@
<?php
namespace src\debug;
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();
}
}