Doc #76614 [Opn->Nab]: MYSQL_ATTTR_* definitions define all values as "integer"

From: Date: Thu, 12 Jul 2018 04:51:13 +0000
Subject: Doc #76614 [Opn->Nab]: MYSQL_ATTTR_* definitions define all values as "integer"
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-15880@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76614&edit=1 ID: 76614 Updated by: requinix@php.net Reported by: rgagnon24 at gmail dot com Summary: MYSQL_ATTTR_* definitions define all values as "integer" -Status: Open +Status: Not a bug Type: Documentation Problem Package: Documentation problem Operating System: N/A PHP Version: 7.1.19 Block user comment: N Private report: N New Comment: They *are* all integers. You're confusing the the value of the constant with the way the constant is used. Previous Comments: ------------------------------------------------------------------------ [2018-07-12 04:20:05] rgagnon24 at gmail dot com Description: ------------ --- From manual page: http://www.php.net/ref.pdo-mysql --- Each PDO Attribute is a different type, but the documentation shows all of them as integer. For example: MYSQL_ATTR_SSL_CA accepts a string but the documentation shows MYSQL_ATTR_SSL_CA(integer) Some accept strings, some integers, some boolean. Test script: --------------- // No test script needed. Doc problem ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76614&edit=1

« previous php.doc.bugs (#15880) next »