Skip to content

Commit 47f21c5

Browse files
authored
Merge pull request #5 from mtereschenko/master
Debug without die
2 parents bb22f12 + 740cb2d commit 47f21c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/helper.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,11 @@ function dd()
88
die();
99
}
1010
}
11+
12+
if (!function_exists('d')) {
13+
function d()
14+
{
15+
$args = func_get_args();
16+
call_user_func_array('dump', $args);
17+
}
18+
}

0 commit comments

Comments
 (0)