#40413 [Opn->Bgs]: is_nan(1/0) and is_infinity(1/0) both return False

From: Date: Fri, 09 Feb 2007 10:21:33 +0000
Subject: #40413 [Opn->Bgs]: is_nan(1/0) and is_infinity(1/0) both return False
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-108618@lists.php.net to get a copy of this message
ID: 40413 Updated by: tony2001@php.net Reported By: ffrinton at gmail dot com -Status: Open +Status: Bogus Bug Type: Math related Operating System: All PHP Version: 4.4.4 New Comment: var_dump(1/0); Warning: Division by zero in .. on line .. bool(false Previous Comments: ------------------------------------------------------------------------ [2007-02-09 09:30:07] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40413&edit=1

« previous php.bugs (#108618) next »