Re: New function proposal
| From: | Ben Scholzen 'DASPRiD' | Date: | Fri, 09 Oct 2015 23:56:15 +0000 |
| Subject: | Re: New function proposal | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-88731@lists.php.net to get a copy of this message | ||
If you and your friends use that a lot, how about you just define a function for it in userland? There's absolutely no logical reason to have this in core.
function var_die($value) { var_dump($value); exit; }
On 08.10.2015 17:05, Mattias Gonzalez wrote:
I wanted to propose the "var_die($var)" functionallity. My mates and i use a lot var_dump($var);die; Since die() wont print an array just a string, i think it´ll be very useful. It should do the var_dump($var);and die(); what do you think?-- Ben Scholzen 'DASPRiD' Community Review Team Member | mail@dasprids.de Zend Framework | http://www.dasprids.de