In Laravel 5 ā€“ dd gets an upgrade

News

December 23rd, 2014

Symfony recently announced a new VarDumper Component which makes var_dumps easier for developers:

The VarDumper component provides mechanisms for walking through any arbitrary PHP variable. Built on top, it provides a better dump() function that you can use instead of var_dump.

Laravel 5 has replaced the dd(), dump and die, function so it will include this under the hood.

dd

The colors are blinding but Iā€™m happy that my most used Laravel feature is getting an update.

Visit this post to see all the new Laravel 5 features.

Filed in:

Eric L. Barnes

Eric is the creator of Laravel News and has been covering Laravel since 2012.