#!/www/server/bin/php 1)); unset($GLOBALS['it_cache_local']); is(intval(it_cache::get('it_cache_d', array('distributed' => 1))), 42, "distributed put/get number"); it_cache::put('it_cache_d', false, array('distributed' => 1)); unset($GLOBALS['it_cache_local']); is(boolval(it_cache::get('it_cache_d', array('distributed' => 1))), false, "distributed put/get false"); it_cache::put('it_cache_d', array(2), array('distributed' => 1)); unset($GLOBALS['it_cache_local']); is(it_cache::get('it_cache_d', array('distributed' => 1)), array(2), "distributed put/get array"); is(it_cache::get('it_cache_d'.rand(1, 1000), array('distributed' => 1)), null, "distributed get unknown key");