New in Symfony 3.3: Search in dumped contents
In Symfony applications, you can use the
dump() function as a better
replacement of PHP's
var_dump() thanks to the VarDumper component.
The dumped contents can be easily navigated with the collapsible toggles, but
sometimes it's hard to find values hidden deep inside complex dumps.
In Symfony 3.3, the dumped contents include a local search box to help you find those values more easily:
To make the search box appear:
- Click anywhere on the dumped contents
Ctrl. + For
Cmd. + F
Esc.to hide the search box
The search experience has been exquisitely polished and it works everywhere:
The web debug toolbar:
The Symfony profiler:
Raw dumps in any PHP application:
New in Symfony 3.3: Search in dumped contents symfony.com/blog/new-in-symfony-3-3-search-in-dumped-contentsTweet this
Become a certified developer! Exams are online and available in all countries.Register Now
Comments are closed.
To ensure that comments stay relevant, they are closed for old posts.