Doc #78580 [Ver->Csd]: apcu_dec, apcu_inc: missing parameter
| From: | cmb@php.net | Date: | Sat, 21 Sep 2019 15:26:53 +0000 |
| Subject: | Doc #78580 [Ver->Csd]: apcu_dec, apcu_inc: missing parameter | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16959@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78580&edit=1
ID: 78580
Updated by: cmb@php.net
Reported by: fabien dot villepinte at gmail dot com
Summary: apcu_dec, apcu_inc: missing parameter
-Status: Verified
+Status: Closed
Type: Documentation Problem
Package: APC
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:
------------------------------------------------------------------------
[2019-09-21 15:26:26] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348032
Log: Fix #78580: apcu_dec, apcu_inc: missing parameter
------------------------------------------------------------------------
[2019-09-21 13:21:30] fabien dot villepinte at gmail dot com
Description:
------------
Since PHP-5.1.12 apcu_dec() and apcu_inc() expect an optional 4th parameter.
It is described in the parameters section, but it is missing in the description section.
It is not mentionned in the documentation but according the source code it should be an integer.
https://github.com/krakjoe/apcu/blob/004c69a195bfcb5b35895ed56a9f85118cad01d9/php_apc.c#L540
See:
- https://www.php.net/manual/en/function.apcu-dec.php
- https://www.php.net/manual/en/function.apcu-inc.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78580&edit=1