php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #64838 apc_delete returns bool, function sig says mixed
Submitted: 2013-05-14 18:24 UTC Modified: 2013-05-15 06:14 UTC
From: lynch@php.net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2013-05-14 18:24 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-15 06:14 UTC] krakjoe@php.net
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.
 [2013-05-15 06:14 UTC] krakjoe@php.net
-Status: Open +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 02:01:30 2024 UTC