Bug #55644 [NEW]: Math ops tests fail, diff min int value
| From: | pajoye@php.net | Date: | Thu, 08 Sep 2011 16:19:10 +0000 |
| Subject: | Bug #55644 [NEW]: Math ops tests fail, diff min int value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-163391@lists.php.net to get a copy of this message | ||
From: pajoye
Operating system:
PHP version: 5.4SVN-2011-09-08 (snap)
Package: Scripting Engine problem
Bug Type: Bug
Bug description:Math ops tests fail, diff min int value
Description:
------------
Test >= operator : max int 32bit range
[tests\lang\operators\operator_gt_or_equal_variation.phpt]
Test <= operator : max int 32bit range
[tests\lang\operators\operator_lt_or_equal_variation.phpt]
Test < operator : max int 32bit range
[tests\lang\operators\operator_lt_variation.phpt]
fail
Actual result:
--------------
operator_gt_or_equal_variation.phpt:
001+ FAILED: '-2147483648' < '-2147483647'
001- Test Passed
operator_lt_or_equal_variation.phpt:
001+ FAILED: '-2147483648' <= '-2147483647'
001- Test Passed
operator_lt_variation.phpt:
001+ FAILED: '-2147483648' < '-2147483647'
001- Test Passed
--
Edit bug report at https://bugs.php.net/bug.php?id=55644&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55644&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55644&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55644&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55644&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55644&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55644&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55644&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55644&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55644&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55644&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55644&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55644&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55644&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55644&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55644&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55644&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55644&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55644&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55644&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55644&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55644&r=mysqlcfg