php/doc-en

Rephrase that following generic PDO attributes may not be implemented

オープン

#4,436 opened on 2025/02/03

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)XML (882 件のフォーク)auto 404
Extension: pdoenhancementgood first issue

Repository metrics

Stars
 (596 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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)

コントリビューターガイド