PHP function connection_status()
Availability in PHP 4.0
Returns connection status bitfield
Parameters
The function has no input parameters.
Return values
int
the connection status bitfield, which can be used against the CONNECTION_XXX constants to determine the connection status.