php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #78618 Wrong return type for apcu_delete
Submitted: 2019-10-01 09:50 UTC Modified: 2019-10-01 11:04 UTC
From: fabien dot villepinte at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Unknown/Other Function
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
 [2019-10-01 09:50 UTC] 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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-10-01 11:03 UTC] 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 11:04 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2019-10-01 11:04 UTC] cmb@php.net
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.
 [2019-10-01 11:05 UTC] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=570df9891d4ae74eece5b3aeaecd344d46888239
Log: Fix #78618: Wrong return type for apcu_delete
 [2020-02-07 06:04 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=fcc5d68305ec9f2e3534cc0c5b4d8e09f47649f9
Log: Fix #78618: Wrong return type for apcu_delete
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sun Sep 27 18:01:26 2020 UTC