Bug #75349 [Opn->Fbk]: NAN comparison
| From: | danack@php.net | Date: | Tue, 10 Oct 2017 10:15:54 +0000 |
| Subject: | Bug #75349 [Opn->Fbk]: NAN comparison | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-211600@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75349&edit=1
ID: 75349
Updated by: danack@php.net
Reported by: fdivitto at gmail dot com
Summary: NAN comparison
-Status: Open
+Status: Feedback
Type: Bug
Package: Scripting Engine problem
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
I'm pretty sure this has been fixed since 7.1.9 and since 7.2.0beta2
https://3v4l.org/Fla0D
You said 'version irrelevant' - did you check up to date versions and are seeing something
different, or did you just assume it affected all versions?
Previous Comments:
------------------------------------------------------------------------
[2017-10-10 10:09:58] fdivitto at gmail dot com
Description:
------------
Why this?
var_dump(NAN < 0);
--> produces "bool(true)"
...while...
$x=NAN;
var_dump($x < 0);
--> produces "bool(false)"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75349&edit=1