-
Notifications
You must be signed in to change notification settings - Fork 826
Closed
Labels
Extension: pdoAll PDO related doc issuesAll PDO related doc issuesbugDocumentation contains incorrect informationDocumentation contains incorrect informationgood first issueGood for newcomersGood for newcomers
Description
The PDO MySQL constant documentation is inconsistent with the actual constants defined.
PDO::MYSQL_ATTR_SERVER_PUBLIC_KEY exists but is not documented.
PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY and PDO::MYSQL_ATTR_INIT_COMMAND are documented as having type string but are actually ints.
PDO::MYSQL_ATTR_LOCAL_INFILE is documented to be available as of PHP 8.1.0, but it's available in earlier versions. Meanwhile, PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY has no version note, but it's not available until PHP 8.1.0. This seems like the version documentation got mixed up and put on the wrong constant.
Metadata
Metadata
Assignees
Labels
Extension: pdoAll PDO related doc issuesAll PDO related doc issuesbugDocumentation contains incorrect informationDocumentation contains incorrect informationgood first issueGood for newcomersGood for newcomers