php/doc-en

Rephrase that following generic PDO attributes may not be implemented

開放

#4,436 建立於 2025年2月3日

 (1 則留言) (0 個反應) (0 位負責人)XML (882 個分叉)auto 404
Extension: pdoenhancementgood first issue

倉庫指標

星標
 (596 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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)

貢獻者指南