Home > PHP > Function > > maxdb->protocol_version()

maxdb->protocol_version()

maxdb->protocol_version - Returns the version of the MaxDB protocol used

Syntax

int maxdb->protocol_version (resource $link)

Arguments

  • link

Description

Procedural style:

Version

PHP PECL maxdb >= 1.0

Return value

Returns an integer representing the protocol version (constant 10).