Doc #78580 [NEW]: apcu_dec, apcu_inc: missing parameter
| From: | fabien dot villepinte at gmail dot com | Date: | Sat, 21 Sep 2019 13:21:30 +0000 |
| Subject: | Doc #78580 [NEW]: apcu_dec, apcu_inc: missing parameter | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-16954@lists.php.net to get a copy of this message | ||
From: fabien dot villepinte at gmail dot com
Operating system:
PHP version: Irrelevant
Package: Unknown/Other Function
Bug Type: Documentation Problem
Bug description:apcu_dec, apcu_inc: missing parameter
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 bug report at https://bugs.php.net/bug.php?id=78580&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=78580&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78580&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78580&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78580&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78580&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78580&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78580&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78580&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78580&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78580&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78580&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=78580&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78580&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78580&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78580&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78580&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78580&r=mysqlcfg