|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #59159 wincache_ucache_add() documentation incorrect.
Submitted: 2010-04-13 12:34 UTC Modified: 2010-04-14 02:04 UTC
From: Assigned:
Status: Closed Package: WinCache (PECL)
PHP Version: Irrelevant OS: WINDOWS
Private report: No CVE-ID: None
 [2010-04-13 12:34 UTC]
The second example's output at is not correct.

Reproduce code:
	$colors_array = array('green' => '5', 'Blue' => '6', 'yellow' => '7', 'cyan' => '8');

Expected result:
array(0) { } array(4) { ["green"]=> int(-1) ["Blue"]=> int(-1) ["yellow"]=> int(-1) ["cyan"]=> int(-1) } string(1) "6" 

Actual result:
array(0) {}
string(1) "6"

As per documentation


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-14 02:04 UTC] ruslany at microsoft dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on

In case this was a website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PECL better.

The change should show up here:
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Jun 04 12:01:25 2020 UTC