관리-도구
편집 파일: gh_500.phpt
--TEST-- Test for Github issue 500 --SKIPIF-- <?php include "skipif.inc";?> --FILE-- <?php include dirname (__FILE__) . '/config.inc'; $m = new Memcached(); $newServers = array( array(MEMC_SERVER_HOST, MEMC_SERVER_PORT), ); $m->addServers($newServers); $m->set('floatpoint', 100.2); $n = $m->get('floatpoint'); var_dump($n); $m->set('floatpoint_neg', -300.4); $n = $m->get('floatpoint_neg'); var_dump($n); ?> --EXPECT-- float(100.2) float(-300.4)