Closed cayolblake closed 2 years ago
PHP 8.1
php > $db = new LevelDB("db1.ldb"); php > var_dump($db->get("Key")); string(14) "ValueYYYYYYYYY" php > var_dump($db->close()); bool(true) php > var_dump($db->get("Key")); string(14) "ValueYYYYYYYYY"
close() is a no-op since v0.3 and is marked as deprecated
Ah okay. Guess there should be some warning around it :)
Probably update https://github.com/reeze/php-leveldb#leveldbclose
PHP 8.1