Re: svn: /php/php-src/trunk/Zend/ zend_operators.c
| From: | Hannes Magnusson | Date: | Sun, 05 Jun 2011 11:34:38 +0000 |
| Subject: | Re: svn: /php/php-src/trunk/Zend/ zend_operators.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-65122@lists.php.net to get a copy of this message | ||
On Sun, Aug 22, 2010 at 10:01, Scott MacVicar <scottmac@php.net> wrote:
> scottmac Sun, 22 Aug 2010 08:01:34 +0000
>
> Revision:
> http://svn.php.net/viewvc?view=revision&revision=302629
>
> Log:
> Fix a bug where two doubles are equal but the maths operation makes it appear false.
>
> Best example with INF where equals and identical produce different results.
>
> <?php
> var_dump(INF==INF);
> var_dump(INF===INF);
This breaks ext/standard/tests/math/bug45712.phpt
Please update the testcase or revert this change :]
-Hannes