-
Notifications
You must be signed in to change notification settings - Fork 0
getProtocolVersion
Corey Avis edited this page Sep 23, 2026
·
2 revisions
Retrieves the MySQL protocol version used by the current connection.
📌 This information is also automatically collected and included in the global report returned by getDiagnostics().
getProtocolVersion(): integer
- Takes no arguments.
(integer) : Returns an integer representing the MySQL protocol version.
$db->getProtocolVersion()
- No debug errors.
getDiagnostics | getHostInfo | getServerVersion
Home | CoreyDB | Environment