|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-02 13:23 UTC] mikael at synd dot info
[2009-01-13 11:27 UTC] mikael at synd dot info
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 23:00:01 2025 UTC |
Description: ------------ If you set an int in memcache, then get that key, the value has been cast to a string. Reproduce code: --------------- $val = (int) 200; var_dump($val); $cache->set('test', $val); $newVal = $cache->get('test'); var_dump($newVal); Expected result: ---------------- int(200) int(200) Actual result: -------------- int(200) string(3) "200"