Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2111 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20009 invoked from network); 31 May 2003 14:56:37 -0000 Received: from unknown (HELO mailout11.sul.t-online.com) (194.25.134.85) by pb1.pair.com with SMTP; 31 May 2003 14:56:37 -0000 Received: from fwd05.sul.t-online.de by mailout11.sul.t-online.com with smtp id 19M7ma-0002x3-08; Sat, 31 May 2003 16:56:32 +0200 Received: from baumbart.marcus-boerger.de (520072483730-0001@[80.142.152.120]) by fwd05.sul.t-online.com with esmtp id 19M7mU-0XojuyC; Sat, 31 May 2003 16:56:26 +0200 Reply-to:marcus.boerger@post.rwth-aachen.de Message-ID: <5.1.0.14.2.20030531164727.0306adc0@mailbox.rwth-aachen.de> X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sat, 31 May 2003 16:56:24 +0200 To: moshe@php.net Cc: internals@lists.php.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Sender: 520072483730-0001@t-dialin.net Subject: date_sunrise/date_sunset From: marcus.boerger@t-online.de ((Marcus =?iso-8859-1?Q?B=F6rger?=)) Hi, the test ext/standard/tests/gerneral_functions/sunsuncts.phpt fails on some systems because the floating point results are handled in a wrong way. The test simply shows the values but they are truncated OR runded depending on the system. The consequence is eitther we emulate more system functions or use EXPECTF / EXPECTREGEX to check for the values by allowing any last digit or checking for the correct possible two numbers for the last digit. regards marcus