Re: New function proposal

From: Date: Tue, 13 Oct 2015 12:33:01 +0000
Subject: Re: New function proposal
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-88772@lists.php.net to get a copy of this message
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 <johannes@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 > >

« previous php.internals (#88772) next »