rfc:pdo_driver_specific_subclasses
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:pdo_driver_specific_subclasses [2023/06/27 12:45] – Added note of leaving deprecation out and ini settings. danack | rfc:pdo_driver_specific_subclasses [2024/02/12 14:24] (current) – derick | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2022-06-20 | * Date: 2022-06-20 | ||
* Author: Danack | * Author: Danack | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
+ | * Target: PHP 8.4 | ||
Line 136: | Line 137: | ||
* @cname SQLITE_DETERMINISTIC | * @cname SQLITE_DETERMINISTIC | ||
*/ | */ | ||
- | public const SQLITE_DETERMINISTIC | + | public const DETERMINISTIC |
/** | /** | ||
Line 142: | Line 143: | ||
* @cname SQLITE_ATTR_OPEN_FLAGS | * @cname SQLITE_ATTR_OPEN_FLAGS | ||
*/ | */ | ||
- | public const SQLITE_ATTR_OPEN_FLAGS | + | public const ATTR_OPEN_FLAGS |
/** | /** | ||
Line 148: | Line 149: | ||
* @cname SQLITE_OPEN_READONLY | * @cname SQLITE_OPEN_READONLY | ||
*/ | */ | ||
- | public const SQLITE_OPEN_READONLY | + | public const OPEN_READONLY |
/** | /** | ||
Line 154: | Line 155: | ||
* @cname SQLITE_OPEN_READWRITE | * @cname SQLITE_OPEN_READWRITE | ||
*/ | */ | ||
- | public const SQLITE_OPEN_READWRITE | + | public const OPEN_READWRITE |
/** | /** | ||
Line 160: | Line 161: | ||
* @cname SQLITE_OPEN_CREATE | * @cname SQLITE_OPEN_CREATE | ||
*/ | */ | ||
- | public const SQLITE_OPEN_CREATE | + | public const OPEN_CREATE |
/** | /** | ||
Line 166: | Line 167: | ||
* @cname SQLITE_ATTR_READONLY_STATEMENT | * @cname SQLITE_ATTR_READONLY_STATEMENT | ||
*/ | */ | ||
- | public const SQLITE_ATTR_READONLY_STATEMENT | + | public const ATTR_READONLY_STATEMENT |
/** | /** | ||
Line 172: | Line 173: | ||
* @cname | * @cname | ||
*/ | */ | ||
- | public const SQLITE_ATTR_EXTENDED_RESULT_CODES | + | public const ATTR_EXTENDED_RESULT_CODES |
// Registers an aggregating User Defined Function for use in SQL statements | // Registers an aggregating User Defined Function for use in SQL statements | ||
Line 203: | Line 204: | ||
int $rowid, | int $rowid, | ||
?string $dbname = " | ?string $dbname = " | ||
- | int $flags = PdoSqlite::SQLITE_OPEN_READONLY | + | int $flags = PdoSqlite::OPEN_READONLY |
): mixed /* resource|false */ {} | ): mixed /* resource|false */ {} | ||
} | } | ||
Line 285: | Line 286: | ||
Everything not PDO | Everything not PDO | ||
+ | |||
+ | ===== Frequently asked questions ===== | ||
+ | |||
+ | ==== if someone does 'new PDO(...)' | ||
+ | |||
+ | No. | ||
===== Future Scope ===== | ===== Future Scope ===== | ||
Line 323: | Line 330: | ||
Accept the RFC or not. | Accept the RFC or not. | ||
- | ===== Patches and Tests ===== | + | <doodle title="PDO driver specific subclasses" |
+ | * Yes | ||
+ | * No | ||
+ | </ | ||
- | WIP code https:// | + | Voting closes at 2023-07-17T17: |
+ | ===== Patches and Tests ===== | ||
+ | |||
+ | https:// | ||
+ | https:// | ||
===== Implementation ===== | ===== Implementation ===== | ||
- | After the project is implemented, | + | |
- | - the version(s) it was merged into | + | Implemented for PHP 8.4 (https:// |
- | | + | |
- | - a link to the PHP manual entry for the feature | + | |
- | - a link to the language specification section (if any) | + | |
===== References ===== | ===== References ===== | ||
- | A proprosal | + | A proposal |
===== Rejected Features ===== | ===== Rejected Features ===== | ||
Keep this updated with features that were discussed on the mail lists. | Keep this updated with features that were discussed on the mail lists. |
rfc/pdo_driver_specific_subclasses.1687869949.txt.gz · Last modified: 2023/06/27 12:45 by danack