laravel/laravel — pull request #1251 by Jakobud (2012-09-20 17:22:02+00:00)
Title: Added option to not die when using dd().

This minor change allows you to pass an optional second bool parameter to the `dd()` function like so:

```
dd($variable, false);
```

This will make it so `dd()` does not die at the end of the function. This allows a developer to `dd()` multiple variables throughout his code without the code dying at the first `dd()`.

Example:

```
$taco= whatever();

dd($taco, false); // will var_dump() but not die

$burrito= hello( $taco );

dd($burrito, false); // will var_dump but not die

dd($soda); // will var_dump and then die;

echo "This won't be seen";
```

This is a very minor addition but it can definitely be a bonus to code debugging.

Signed-off-by: Jakobud