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

Pull Requests

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: Sat Dec 21 14:01:32 2024 UTC