// SYSTEM PANEL //
[ROOT]
/
opt
/
alt
/
tests
/
alt-php83-pecl-leveldb_0.3.0-1.el8
/
tests
[ PARENT ]
EDIT :: 013-compactRange.phpt
--TEST-- leveldb - compactRange --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- <?php $leveldb_path = dirname(__FILE__) . '/leveldb-compactRange.test-db'; $db = new LevelDB($leveldb_path); for($i=0; $i < 99999; ++$i) { $db->set("b{$i}", "value{$i}"); } var_dump($db->compactRange('a', 'Z')); ?> ==DONE== --CLEAN-- <?php $leveldb_path = dirname(__FILE__) . '/leveldb-compactRange.test-db'; LevelDB::destroy($leveldb_path); ?> --EXPECTF-- NULL ==DONE==
SAVE
CANCEL