Make debug_zval_dump prints int as long
| From: | Xinchen Hui | Date: | Fri, 24 Jul 2015 08:21:04 +0000 |
| Subject: | Make debug_zval_dump prints int as long | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-87264@lists.php.net to get a copy of this message | ||
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?
thanks
--
Xinchen Hui
@Laruence
http://www.laruence.com/