Doc #78618 [Opn->Csd]: Wrong return type for apcu_delete
| From: | cmb@php.net | Date: | Tue, 01 Oct 2019 11:04:00 +0000 |
| Subject: | Doc #78618 [Opn->Csd]: Wrong return type for apcu_delete | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-16978@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78618&edit=1
ID: 78618
Updated by: cmb@php.net
Reported by: fabien dot villepinte at gmail dot com
Summary: Wrong return type for apcu_delete
-Status: Open
+Status: Closed
Type: Documentation Problem
Package: Unknown/Other Function
PHP Version: Irrelevant
-Assigned To:
+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-10-01 11:03:32] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348112
Log: Fix #78618: Wrong return type for apcu_delete
------------------------------------------------------------------------
[2019-10-01 09:50:56] fabien dot villepinte at gmail dot com
Description:
------------
apcu_delete() returns an array when its parameter is also an array. It returns a boolean otherwise.
See: https://github.com/krakjoe/apcu/blob/004c69a/php_apc.c#L722
This case is not described by the documentation:
https://www.php.net/manual/en/function.apcu-delete.php
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=78618&edit=1