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?(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));
Turning off XCache solved it for me.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community