[php-src] Issue #21322: PDO\SQLite: Add support for getting raw SQL query (same as SQLite3::getSQL)

[email protected] (bohwaz)
Newsgroups php.bugs
Message-ID <[email protected]>
Issue: https://github.com/php/php-src/issues/21322
Author: bohwaz

### Description

SQLite3 class supports fetching the raw SQL query as a string from the statement:

`SQLite3Stmt::getSQL(bool $expand = false)`

Adding an attribute to fetch the same for PDO\SQLite would be nice, eg.:

```
PDOStatement::getAttribute(PDO\SQLite::ATTR_SQL_STATEMENT)
PDOStatement::getAttribute(PDO\SQLite::ATTR_SQL_EXPANDED_STATEMENT)
```
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.