tony2001Thu Aug 7 08:36:15 2008 UTC
Modified files:
/ZendEngine2zend_operators.c
/php-src/ext/standard/tests/mathbug45712.phpt
Log:
fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
Antony Dovgal kirjoitti:
tony2001Thu Aug 7 08:36:15 2008 UTC
Modified files:
/ZendEngine2 zend_operators.c
/php-src/ext/standard/tests/math bug45712.phpt
Log:
fix bug #45712 ($something == NaN returns true with 5.3, false with 5.2.*)
On 07.08.2008 14:02, Jani Taskinen wrote:
You fixed by changing the test to be wrong? :)
No, I fixed the test to show the same behavior with 4.4, 5.2, 5.3 and HEAD.
I also fixed comparison of NaN with empty strings and numbers.
Is not $nan == $nan or $nan === $nan true ?
No, they are not
Antony Dovgal kirjoitti:
On 07.08.2008 14:02, Jani Taskinen wrote:
You fixed by changing the test to be wrong? :)
No, I fixed the test to show the same behavior with 4.4, 5.2, 5.3 and HEAD.
I also fixed comparison of NaN with empty strings and numbers.
Ok.
Is not $nan == $nan or $nan ===
On Thu, 7 Aug 2008, Antony Dovgal wrote:
On 07.08.2008 14:02, Jani Taskinen wrote:
You fixed by changing the test to be wrong? :)
No, I fixed the test to show the same behavior with 4.4, 5.2, 5.3 and HEAD.
I also fixed comparison of NaN with empty strings and numbers.
Is not $nan ==
janiTue Aug 5 12:36:22 2008 UTC
Added files:
/php-src/ext/standard/tests/mathbug45712.phpt
Log:
- Add test for bug #45712
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/math/bug45712.phpt?view=markuprev=1.1
Index: