|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesZend-log-nana-fix-test-bug42143 (last revision 2015-09-25 12:00 UTC by rainer dot jung at kippdata dot de)Pull RequestsHistoryAllCommentsChangesGit/SVN commits              [2015-09-25 12:05 UTC] rainer dot jung at kippdata dot de
  [2015-10-24 04:48 UTC] kalle@php.net
  [2018-08-05 05:00 UTC] carusogabriel@php.net
 
-Status:      Open
+Status:      Closed
-Assigned To:
+Assigned To: carusogabriel
  [2018-08-05 05:00 UTC] carusogabriel@php.net
  [2018-08-05 14:20 UTC] cmb@php.net
 
-Status: Closed
+Status: Re-Opened
  [2018-08-05 14:20 UTC] cmb@php.net
  [2018-08-05 16:43 UTC] carusogabriel@php.net
  [2018-08-05 20:41 UTC] yohgaki@php.net
  [2018-08-05 22:54 UTC] carusogabriel@php.net
 
-Assigned To: carusogabriel
+Assigned To:
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 08:00:01 2025 UTC | 
Description: ------------ The test Zend/tests/bug42143.phpt contains: 13 var_dump(log10(-1) == log(-1)); 14 var_dump(log10(-1) != log10(-1)); On Linux, that test works, because the logarithm of -1 returns NAN as expected. On Solaris the log returns -INF and that part of the test fails. This behavior is allowed by the specifications: See in http://pubs.opengroup.org/onlinepubs/9699919799/functions/log.html "For finite values of x that are less than 0 ..., a domain error shall occur, and either a NaN (if supported), or an implementation-defined value shall be returned." Since there are a lot of other but similar tests in Zend/tests/bug42143.phpt, I suggest to drop these two lines. See attached patch.