Changeset 19380 for lang/php/Net_TokyoTyrant/trunk/Net/TokyoTyrant.php
- Timestamp:
- 09/16/08 21:07:17 (4 months ago)
- Files:
-
- 1 modified
-
lang/php/Net_TokyoTyrant/trunk/Net/TokyoTyrant.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/Net_TokyoTyrant/trunk/Net/TokyoTyrant.php
r19373 r19380 251 251 return $this->_getInt4(); 252 252 } 253 253 254 public function putint($key, $num) 255 { 256 $value = pack('V', $num); 257 return $this->put($key, $value); 258 } 259 260 public function getint($key) 261 { 262 $data = $this->get($key); 263 if ($data === false) { 264 return false; 265 } 266 $value = unpack('V', $data); 267 return $value[1]; 268 } 269 254 270 public function adddouble($key, $integ, $fract) 255 271 {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)