connection_status

(PHP 4, PHP 5, PHP 7, PHP 8)

connection_statusReturns connection status bitfield

Опис

connection_status(): int

Gets the connection status bitfield.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

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

Прогляньте також