Re: New function proposal
| From: | Johannes Schlüter | Date: | Sat, 10 Oct 2015 20:22:19 +0000 |
| Subject: | Re: New function proposal | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88742@lists.php.net to get a copy of this message | ||
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
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc