Bug #74039 [Com]: is_infinite(-INF) returns false

From: Date: Fri, 03 Feb 2017 14:56:41 +0000
Subject: Bug #74039 [Com]: is_infinite(-INF) returns false
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-207148@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74039&edit=1 ID: 74039 Comment by: g dot sokol99 at g-sokol dot info Reported by: bugs dot php dot net at chsc dot dk Summary: is_infinite(-INF) returns false Status: Open Type: Bug Package: Math related Operating System: Alpine Linux PHP Version: 7.0.15 Block user comment: N Private report: N New Comment: On Arch linux PHP 7.1.1 Everything is ok. Previous Comments: ------------------------------------------------------------------------ [2017-02-03 06:26:30] bugs dot php dot net at chsc dot dk Description: ------------ is_infinite() is broken in the PHP binary included in Alpine Linux. It returns TRUE for is_infinite(INF), but FALSE for is_infinite(-INF). Test script: --------------- var_dump(is_infinite(-INF)); Expected result: ---------------- bool(true) Actual result: -------------- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74039&edit=1

« previous php.bugs (#207148) next »