Bug #69188 [Fbk->NoF]: The constant INF is set to float(0)
| From: | php-bugs at lists dot php dot net | Date: | Sun, 24 Jan 2021 04:22:09 +0000 |
| Subject: | Bug #69188 [Fbk->NoF]: The constant INF is set to float(0) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-231733@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69188&edit=1
ID: 69188
Updated by: php-bugs@lists.php.net
Reported by: manuel at moosnet dot de
Summary: The constant INF is set to float(0)
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Math related
Operating System: SunOS 5.10
PHP Version: Irrelevant
Assigned To: cmb
Private report: N
New Comment:
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
Previous Comments:
------------------------------------------------------------------------
[2021-01-13 16:12:28] cmb@php.net
If this is still unresolved for any of the actively supported PHP
versions[1], could someone with access to such an environment
please provide a suitable PR for the respective detection code[2]?
[1] <https://www.php.net/supported-versions.php>
[2] <https://github.com/php/php-src/blob/php-7.4.14/Zend/Zend.m4#L423-L447>
------------------------------------------------------------------------
[2016-12-20 04:43:43] tycholursen at gmail dot com
Hi, I just tested with a fresh install of MediaWiki 1.27.1 and php version 7 on Strato servers.
Seems to work OK for me now.
------------------------------------------------------------------------
[2016-12-15 11:35:39] wagner at strato-rz dot de
We currently have patched our PHP 7 version to determine the value of "INF" correctly.
The problem is that "configure" does not work with Solaris 10 correctly and defines
HAVE_ATOF_ACCEPTS_INF without checking the value of atof(INF).
I have to put in some more work to provide a proper patch for this to php.net. If you are
experiencing this error please switch to PHP 7.
------------------------------------------------------------------------
[2016-09-07 16:59:12] chris at chrisjean dot com
@manuel at moosnet dot de
You suggested that the tooling used to provision the servers could be the source of the issue. I
suggest that you dig deeper into that as I ran your sample C code on a fresh install of Solaris 11.3
and did not see a problem. This points to a problem in your provisioning process, not a
compatibility problem with Solaris.
$ uname -a
SunOS solaris 5.11 11.3 i86pc i386 i86pc
$ ./atof
__i386__ Inf
atof: Inf
fract: Inf
------------------------------------------------------------------------
[2016-08-10 15:09:08] tycholursen at gmail dot com
@wagner at strato-rz dot de
Are you aware of the fact that this long standing bug on the Strato servers prevents MediaWiki
version 1.27.0 from functioning?
Please have a look at https://phabricator.wikimedia.org/T139559 for
clarification.
It contains a backtrace of the "ParameterAssertionException: Bad value for parameter maxKeys:
must be above zero" I encountered in an attempt to install MediaWiki 1.27.0 on Strato servers.
Please fix it!
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69188
--
Edit this bug report at https://bugs.php.net/bug.php?id=69188&edit=1