📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-07-01 15:46:57
📂
/ (Root)
/
opt
/
alt
/
tests
/
alt-php81-pecl-leveldb_0.3.0-1.el8
/
tests
📍 /opt/alt/tests/alt-php81-pecl-leveldb_0.3.0-1.el8/tests
🔄 Refresh
✏️
Editing: 007-db-close.phpt
Read Only
--TEST-- leveldb - db close --SKIPIF-- <?php include 'skipif.inc'; ?> --FILE-- <?php $leveldb_path = dirname(__FILE__) . '/leveldb_close.test-db'; $db = new LevelDB($leveldb_path); $db->close(); unset($it); unset($db); // ensure destructeur properly close the db */ LevelDB::destroy($leveldb_path); var_dump(file_exists($leveldb_path)); ?> --CLEAN-- <?php $leveldb_path = dirname(__FILE__) . '/leveldb_close.test-db'; if (file_exists($leveldb_path)) LevelDB::destroy($leveldb_path); ?> --EXPECTF-- Deprecated: %s LevelDB::close() is deprecated in %s bool(false)
💾 Save Changes
❌ Cancel