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

Routes: Route::post('verify', 'site\RegistrationController@verify');

Controller

<?php namespace site; use BaseController, Input, Validator, View, Redirect, Request; use Carbon\Carbon; class RegistrationController extends BaseController { /** * Display a listing of news. * * @return Response */ public function verify() { $now = Carbon::now(); dd($now); return $now; } } When I use dd() function I don't get like a Laravel error I just a blank screen. In Chrome I get "No data received" in Firefox I get "The connection was reset - The connection to the server was reset while the page was loading." Does anyone has an idea why? Is dd() function not part of Laravel 4.2.8 anymore?
Last updated 3 years ago.
0

(Your code formatting at the top didn't work).

I don't think it's been removed. It's the same as doing:

die(var_dump($now));

Last updated 3 years ago.
0

Turning off XCache solved it for me.

Reference -> laravel.io

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

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.