Annotation of embedaddon/php/Zend/tests/bug62097.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #62097: fix for bug #54547 is wrong for 32-bit machines
! 3: --SKIPIF--
! 4: <?php
! 5: if (PHP_INT_MAX !== 2147483647)
! 6: die('skip for system with 32-bit wide longs only');
! 7: --FILE--
! 8: <?php
! 9: var_dump("02147483647" == "2147483647",
! 10: "02147483648" == "2147483648",
! 11: "09007199254740991" == "9007199254740991",
! 12: "09007199254740992" == "9007199254740992");
! 13: --EXPECT--
! 14: bool(true)
! 15: bool(true)
! 16: bool(true)
! 17: bool(false)
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>