php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #40413 is_nan(1/0) and is_infinity(1/0) both return False
Submitted: 2007-02-09 09:30 UTC Modified: 2007-02-09 10:21 UTC
Votes:1
Avg. Score:4.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: ffrinton at gmail dot com Assigned:
Status: Not a bug Package: Math related
PHP Version: 4.4.4 OS: All
Private report: No CVE-ID: None
 [2007-02-09 09:30 UTC] ffrinton at gmail dot com
Description:
------------
I think the summary says it all.

Reproduce code:
---------------
See summary.

Expected result:
----------------
The opposite to what actually happens.

Actual result:
--------------
See summary

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-02-09 10:21 UTC] tony2001@php.net
var_dump(1/0);

Warning: Division by zero in .. on line ..
bool(false
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 05:01:29 2024 UTC