Support the ongoing development of Laravel.io →
posted 10 years ago
Requests
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 10 years ago.
0

Sign in to participate in this thread!

Native PHP

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.