Thanks all for the responses! I agree that it isnt a core functionallity, but it would be nice to have it always there to use.
thank you for thinking its a good idea guys! 2015-10-10 17:22 GMT-03:00 Johannes Schlüter <johan...@schlueters.de>: > On Thu, 2015-10-08 at 12:05 -0300, Mattias Gonzalez wrote: > > I wanted to propose the "var_die($var)" functionallity. > > This can easily be done in userland. There is no relevant performance > gain. I see no reason to add this to core. > > Having this in your userland library has the benefit that you can do > exactly what you need. A general function needs a way to set a return > code (for CLI usage), configuration to wrap output in <pre> or similar. > > johannes > >