Re: PHP test for bug 45554
| From: | Stas Malyshev | Date: | Sun, 16 Jun 2013 20:54:40 +0000 |
| Subject: | Re: PHP test for bug 45554 | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-66897@lists.php.net to get a copy of this message | ||
Hi!
> in file ext/date/tests/bug45554.phpt.
>
> This test always fails because the precission is not enough for the
> sixth digit to be 1. The output has always 0.
>
> This was added in commit c2554b4bb43700ae16db34d9706db1db85ec78a4. Is
> the test wrong or there is a bug in the PHP? May it be so that this is
> platform dependent?
>
> Tested on PHP version 5.3.17.
This test works fine for me in both 5.3 and 5.4 (Mac OS X). What is the
environment and the precision settings in your environment?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227