PHP Manualmaxdb_get_proto_infomaxdb::protocol_version(PECL maxdb >= 1.0) maxdb_get_proto_info -- maxdb::protocol_version — Returns the version of the MaxDB protocol used DescriptionProcedural style
int maxdb_get_proto_info
( resource
$link
)Object oriented style string $maxdb->protocol_version;
Returns an integer representing the MaxDB protocol version used by the
connection represented by the Return ValuesReturns an integer representing the protocol version (constant 10). ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above example will output something similar to: Protocol version: 10
![]() |
PHP-Index
New Tutorial entries
|