Re: Make debug_zval_dump prints int as long
| From: | Pierre Joye | Date: | Fri, 24 Jul 2015 12:17:18 +0000 |
| Subject: | Re: Make debug_zval_dump prints int as long | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87269@lists.php.net to get a copy of this message | ||
On Jul 24, 2015 11:21 AM, "Xinchen Hui" <laruence@php.net> wrote:
>
> Hey:
>
> 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.
>
> RM and me are worrying about this will break some APPs unit tests
> .. anyway, welting doesn't find any in github..
>
> so, is there any objections to merge this into PHP7.0?
Some consistencies changes in debug functions are fine imho.
Cheers,
Pierre