Test: /ext/standard/tests/math/bug45712.phpt - Version 5.4.0alpha2        

Bug #45712 $something == NaN returns true with 5.3, false with 5.2.*
Submitted: 2008-08-05 02:39:58 Modified: 2014-02-15 23:12:44
From: for-bugs Assigned: tony2001
Status: Closed Package: Variables related
PHP Version: 5.2CVS, 5.3CVS, 6CVS (2008-08-05) OS: *

There are 2 different diffs reported by users for this test.

Count Diff
46 (98%)
022+ bool(true)
027- bool(false)
1 (2%)
001+ float(0)
002+ bool(false)
001- float(NAN)
007+ bool(true)
008+ bool(true)
014+ bool(true)
015+ float(-INF)
016+ bool(true)
015- float(INF)
021+ bool(false)
022- bool(false)
023- bool(false)
024- bool(false)
025- bool(false)
026- bool(false)
027- bool(false)