From 2fc2006fc0bb23897c1eae474b6f86d380ffe0ce Mon Sep 17 00:00:00 2001 From: Levi Durfee Date: Sun, 29 Jul 2018 15:53:50 -0400 Subject: [PATCH] Add dump function --- functions.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/functions.php b/functions.php index 0ceab97..4790449 100644 --- a/functions.php +++ b/functions.php @@ -2,16 +2,22 @@ if(!function_exists('dd')) { function dd($input) { + dump($input); + die(); + } +} + +if(!function_exists('dump')) { + function dump($input) { if(BD_WEB_REQUEST) { echo '
';
         }
-        
+
         var_dump($input);
-        
+
         if(BD_WEB_REQUEST) {
             echo '
'; } - die(); } }