Doc #70907 [Asn->Csd]: incorrect info about INF
| From: | cmb@php.net | Date: | Thu, 17 Dec 2015 11:46:08 +0000 |
| Subject: | Doc #70907 [Asn->Csd]: incorrect info about INF | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-12948@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=70907&edit=1
ID: 70907
Updated by: cmb@php.net
Reported by: slevy1 at pipeline dot com
Summary: incorrect info about INF
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: n/a
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2015-12-17 11:45:47] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=338283
Log: fixed #70907: incorrect info about INF
------------------------------------------------------------------------
[2015-12-17 11:44:40] cmb@php.net
> The truth is plain to see that INF became available as a
> constant in PHP4.3.6.
Well, the truth is that PHP 4 is unsupported since several years,
and most of its documentation has already been removed from the
manual (the rest pending due to lack of time), so it wouldn't make
sense to document INF as available from PHP 4.3.6 on.
------------------------------------------------------------------------
[2015-11-13 21:42:29] slevy1 at pipeline dot com
I suggest that it is more helpful to provide users the whole truth instead of just a slice. The
truth is plain to see that INF became available as a constant in PHP4.3.6.
------------------------------------------------------------------------
[2015-11-13 08:36:19] requinix@php.net
How about the comment says they're available for all versions of PHP 5+? Given that's all
the docs are supposed to cover now anyways.
------------------------------------------------------------------------
[2015-11-13 08:18:27] slevy1 at pipeline dot com
Description:
------------
---
From manual page: http://www.php.net/math.constants
---
"All constants without a labeled PHP version above are available starting with PHP
4.0.0."
Except that INF is a constant that is only recognized by PHP4.3.6. Previous versions of PHP 4 do
not recognize the unlabeled constant.
Expected result:
----------------
I expected PHP4.0.0 to recognize the constant INF. It does not -- just perceives the string
"INF".
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=70907&edit=1