public function testAcceptsStringAndIntKeys() { $pool = StashWrapper::createEphemeral(); foreach (array('123', 123) as $key) { $pool->put($key, 'foo'); $pool->get($key, function () { return 'foo'; }); $pool->invalidate($key); } }