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

maxdb->thread_id()

maxdb->thread_id - Returns the thread ID for the current connection

Syntax

int maxdb->thread_id (resource $link)

Arguments

  • link - One of the MAXDB_REPORT_XXXconstants.

Description

Procedural style:

Version

PHP PECL maxdb >= 1.0

Return value

maxdb_thread_id() returns the Thread ID for the current connection.