Edit report at https://bugs.php.net/bug.php?id=60290&edit=1

 ID:                 60290
 Updated by:         ras...@php.net
 Reported by:        klaus-martin dot hansche at kvberlin dot de
 Summary:            Apc.php – Wrong use of var_export
-Status:             Open
+Status:             Bogus
 Type:               Bug
 Package:            APC
 Operating System:   Irrelevant
 PHP Version:        Irrelevant
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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

Reply via email to