connection_status

Returns connection status bitfield

Description

int connection_status()

Gets the connection status bitfield.

Parameters

This function has no parameters.

Return Values

Returns the connection status bitfield, which can be used against the CONNECTION_* constants to determine the connection status.

See Also

  • connection_aborted
  • ignore_user_abort
  • Connection Handling for a complete description of connection handling in PHP.