Doc #64838 [Opn->Nab]: apc_delete returns bool, function sig says mixed

From: Date: Wed, 15 May 2013 06:14:23 +0000
Subject: Doc #64838 [Opn->Nab]: apc_delete returns bool, function sig says mixed
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-9822@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64838&edit=1 ID: 64838 Updated by: krakjoe@php.net Reported by: lynch@php.net Summary: apc_delete returns bool, function sig says mixed -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: Irrelevant Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. The type of return depends on the type of input. The correct return type is indeed mixed. Previous Comments: ------------------------------------------------------------------------ [2013-05-14 18:24:09] lynch@php.net Description: ------------ The function signature says it returns "mixed" but in reality it returns "bool" Probably one of the most picuyane bug reports ever. Expected result: ---------------- bool Actual result: -------------- mixed ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64838&edit=1

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