Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-08-03 Thread Christoph Becker
On 25.07.2015 at 16:16, Rowan Collins wrote: > On 25/07/2015 12:49, Christoph Becker wrote: >> I agree that the manual page needs an update, but it seems that would >> result in an even more lengthy explanation of the caveats due to the >> different behavior under PHP 5 and PHP 7, respectively. >

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-25 Thread Rowan Collins
On 25/07/2015 12:49, Christoph Becker wrote: I agree that the manual page needs an update, but it seems that would result in an even more lengthy explanation of the caveats due to the different behavior under PHP 5 and PHP 7, respectively. Well, the current manual page is invalid for any versio

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-25 Thread Christoph Becker
Rowan Collins wrote: > On 24/07/2015 09:21, Xinchen Hui wrote: >> >> 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 > > That function desperately needs an updated man

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-24 Thread Rowan Collins
On 24/07/2015 09:21, Xinchen Hui 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 That function desperately needs an updated manual page. The current one rec

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-24 Thread Stanislav Malyshev
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

Re: [PHP-DEV] Make debug_zval_dump prints int as long

2015-07-24 Thread Pierre Joye
On Jul 24, 2015 11:21 AM, "Xinchen Hui" 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 l

[PHP-DEV] Make debug_zval_dump prints int as long

2015-07-24 Thread Xinchen Hui
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 worr