Bug #60290 [NEW]: Apc.php â Wrong use of var_export
| From: | klaus-martin dot hansche at kvberlin dot de | Date: | Mon, 14 Nov 2011 06:57:45 +0000 |
| Subject: | Bug #60290 [NEW]: Apc.php â Wrong use of var_export | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-165111@lists.php.net to get a copy of this message | ||
From:
Operating system: Irrelevant
PHP version: Irrelevant
Package: APC
Bug Type: Bug
Bug description:Apc.php â Wrong use of var_export
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 bug report at https://bugs.php.net/bug.php?id=60290&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60290&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60290&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60290&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60290&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60290&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60290&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60290&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60290&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60290&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60290&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60290&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60290&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60290&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60290&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60290&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60290&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60290&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60290&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60290&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60290&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60290&r=mysqlcfg