Doc #78618 [NEW]: Wrong return type for apcu_delete

From: Date: Tue, 01 Oct 2019 09:50:56 +0000
Subject: Doc #78618 [NEW]: Wrong return type for apcu_delete
Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-16977@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:Wrong return type for apcu_delete

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 bug report at https://bugs.php.net/bug.php?id=78618&edit=1
-- 
Fix committed:                    https://bugs.php.net/fix.php?id=78618&r=fixed
Fixed in release:                 https://bugs.php.net/fix.php?id=78618&r=alreadyfixed
Need backtrace:                   https://bugs.php.net/fix.php?id=78618&r=needtrace
Need Reproduce Script:            https://bugs.php.net/fix.php?id=78618&r=needscript
Try newer version:                https://bugs.php.net/fix.php?id=78618&r=oldversion
Not developer issue:              https://bugs.php.net/fix.php?id=78618&r=support
Expected behavior:                https://bugs.php.net/fix.php?id=78618&r=notwrong
Not enough info:                  https://bugs.php.net/fix.php?id=78618&r=notenoughinfo
Submitted twice:                  https://bugs.php.net/fix.php?id=78618&r=submittedtwice
register_globals:                 https://bugs.php.net/fix.php?id=78618&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=78618&r=phptooold
Daylight Savings:                 https://bugs.php.net/fix.php?id=78618&r=dst
IIS Stability:                    https://bugs.php.net/fix.php?id=78618&r=isapi
Install GNU Sed:                  https://bugs.php.net/fix.php?id=78618&r=gnused
Floating point limitations:       https://bugs.php.net/fix.php?id=78618&r=float
No Zend Extensions:               https://bugs.php.net/fix.php?id=78618&r=nozend
MySQL Configuration Error:        https://bugs.php.net/fix.php?id=78618&r=mysqlcfg


Thread (2 messages)

« previous php.doc.bugs (#16977) next »