php/doc-en

Rephrase that following generic PDO attributes may not be implemented

Aberta

#4.436 aberto em 3 de fev. de 2025

 (1 comentário) (0 reação) (0 responsável)XML (882 forks)auto 404
Extension: pdoenhancementgood first issue

Métricas do repositório

Stars
 (596 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

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)

Guia do colaborador