[php-src] Issue #21323: PDO\SQLite: add support for backup API
| From: | bohwaz | Date: | Sun, 01 Mar 2026 17:48:04 +0000 |
| Subject: | [php-src] Issue #21323: PDO\SQLite: add support for backup API | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-251741@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/21323
Author: bohwaz
### Description
SQLite3 class provides support for the SQLite3 backup API: https://www.php.net/manual/en/sqlite3.backup.php
```
SQLite3::backup(SQLite3 $destination, string $sourceDatabase = "main", string
$destinationDatabase = "main"): bool
```
It would be nice to have the same in PDO\SQLite:
```
PDO\SQLite::backup(PDO\SQLite $destination, string $sourceDatabase = "main", string
$destinationDatabase = "main"): bool
```