# close

Close the persistent connection to the database using the close method in the SurrealDB PHP SDK.

Closes the persistent connection to the database.

```php title="Method Syntax"
$db->close()
```

## Example usage
```php
$db->close();
```
