From: alvaro at demogracia dot com Operating system: Windows PHP version: 5.3.2RC1 PHP Bug Type: Scripting Engine problem Bug description: INF==INF evals to FALSE
Description: ------------ The INF==INF comparison evals to FALSE in 5.3.1 and 5.3.2RC1 Windows releases. It used to be TRUE in previous versions including 5.3.0 and 5.2.11. I've tested it in Windows XP and Windows Server 2008. It's also FALSE in 5.2.10 under Red Hat Enterprise Linux 5. The strict comparison INF===INF evals to TRUE in all cases. Please note I'm referring to the INF numeric constant, not an 'INF' string. Reproduce code: --------------- <?php var_dump(INF==INF); ?> Expected result: ---------------- bool(true) Actual result: -------------- bool(false) -- Edit bug report at http://bugs.php.net/?id=50745&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50745&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50745&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50745&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50745&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50745&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50745&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50745&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50745&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50745&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50745&r=support Expected behavior: http://bugs.php.net/fix.php?id=50745&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50745&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50745&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50745&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50745&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50745&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50745&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50745&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50745&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50745&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50745&r=mysqlcfg