php/doc-en

Rephrase that following generic PDO attributes may not be implemented

Offen

#4.436 geöffnet am 03.02.2025

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)XML (882 Forks)auto 404
Extension: pdoenhancementgood first issue

Repository-Metriken

Stars
 (596 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 99T 23h) (90 gemergte PRs in 30 T)

Beschreibung

From manual page: https://php.net/pdo.getattribute

--- " The generic attributes that apply to database connections are as follows"

should be rephrased as "may apply" as they are not necessarily implemented.

Ex.: lists PDO::ATTR_TIMEOUT although it's not implemented for SQL Server (source https://github.com/microsoft/msphpsql/blob/a8138e1de60eb6e97c7cc99410fff9c973e188ab/source/pdo_sqlsrv/pdo_dbh.cpp#L1336)

Contributor Guide