Loading video...
Debugging Functions
Getting Started With Laravel
Debugging Functions
dump()
Prints the variable information and gives you the location from which it is printed.
$person = [
"name" => "Zura",
"email" => "zura@example.com",
];
dump($person);

dd()
Prints the exact same output as dump() , but stops the script execution.
$person = [
"name" => "Zura",
"email" => "zura@example.com",
];
dd($person);