Home > PHP > Function > Misc. > connection_status()

connection_status()

connection_status - Returns connection status bitfield

Syntax

int connection_status ()

Arguments

-

Description

Gets the connection status bitfield.

Version

PHP 4, 5

Return value

Returns the connection status bitfield, which can be used against the CONNECTION_XXXconstants to determine the connection status.