Accessing instance-specific data within a destructor
class Database { function __destruct() { db_close($this->handle); } }