Re: Make debug_zval_dump prints int as long
| From: | Stanislav Malyshev | Date: | Sat, 25 Jul 2015 00:38:34 +0000 |
| Subject: | Re: Make debug_zval_dump prints int as long | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87283@lists.php.net to get a copy of this message | ||
Hi!
> I made a small PR about changes output of some types name in
> debug_zval_dump, to make it behavior consistently with var_dump.
> https://github.com/php/php-src/pull/1434
>
> 2 things are changed:
>
> 1. print int instead of long
> 2. print float instead of double.
I think that's fine, it's a debug function, even says it in the name.
Also pretty deep into engine internals. So I don't think is it a
problem. Just add a note to UPGRADING.
--
Stas Malyshev
smalyshev@gmail.com