PHP - Manual: TokyoTyrantIterator
2024-11-13
(PECL tokyo_tyrant >= 0.2.0)
Provides an iterator for TokyoTyrant and TokyoTyrantTable objects. The iterator iterates over all keys and values in the database. TokyoTyrantIterator was added in version 0.2.0.
$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]] ) : TokyoTyrant$host
[, int $port
= TokyoTyrant::RDBDEF_PORT
[, array $options
]]] )$log_dir
, int $timestamp
[, bool $check_consistency
= TRUE
] ) : mixed$host
, int $port
, int $timestamp
[, bool $check_consistency
= TRUE
] ) : mixed$timeout
[, int $options
= TokyoTyrant::RDBT_RECON
] ) : TokyoTyrant官方地址:https://www.php.net/manual/en/class.tokyotyrantiterator.php