|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-24 08:47 UTC] kalle@php.net
-Summary: apcu_fetch fails on array with string references
+Summary: APCu: apcu_fetch fails on array with string
references
-Package: PECL
+Package: APC
[2018-02-11 20:35 UTC] nikic@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: nikic
[2018-02-11 20:35 UTC] nikic@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 06 09:00:02 2026 UTC |
Description: ------------ When apcu_fetch is called with an array containing a reference to a string it fails with the following message: Warning: apcu_fetch(): apc_fetch() expects a string or array of strings. in php shell code on line 1 Test script: --------------- $keys = [ 'a', 'b' ]; array_walk($keys, function(&$item) {}); apcu_fetch($keys); Expected result: ---------------- I expect to get an array with found keys and values.