Support the ongoing development of Laravel.io →
posted 9 years ago
Requests

I am having troubles with larval because the dd() functions returns with a lots of HTML on it. Since I am debugging an API with cURL on my terminal I want to see the raw output with no additional HTML.

Any solution for disabling the new dd() feature and rather use it like in Laravel 4?

Last updated 3 years ago.
0

I think you can just use die() then. Assuming you have a $users variable...

die($users);

This was the old dd function so if you want, you can also create your own method:

function ddOld()
{
	array_map(function($x) { var_dump($x); }, func_get_args()); die;
}
Last updated 9 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

mateusgf mateusgf Joined 26 Feb 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.