Bug #60290 [Bgs]: Apc.php â Wrong use of var_export
Edit report at https://bugs.php.net/bug.php?id=60290&edit=1
ID: 60290
Updated by: rasmus@php.net
Reported by: klaus-martin dot hansche at kvberlin dot de
Summary: Apc.php â Wrong use of var_export
Status: Bogus
Type: Bug
Package: APC
Operating System: Irrelevant
PHP Version: Irrelevant
Block user comment: N
Private report: N
New Comment:
What are you saying? That someone pretended to be you when they submitted this
bug report?
Previous Comments:
------------------------------------------------------------------------
[2011-11-16 06:04:33] klaus-martin dot hansche at kvberlin dot de
Please, remove this "report" and my mail-address immediately. And think about not
publishing unconfirmed addresses anymore.
------------------------------------------------------------------------
[2011-11-15 20:46:36] rasmus@php.net
var_export($var, true) is quite valid and tells var_export to return the exported
string instead of outputting it. See http://php.net/var_export
------------------------------------------------------------------------
[2011-11-14 06:57:45] klaus-martin dot hansche at kvberlin dot de
Description:
------------
Apc.php line 1000 should be
$output = var_export(apc_fetch($entry[$fieldkey]));
instead of
$output = var_export(apc_fetch($entry[$fieldkey]),true);
The last parameter of var_export is a reference to a boolean var.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60290&edit=1
Thread (4 messages)