Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP connection_status() Function

PHP connection_status() Function

PHP Misc Reference Manual PHP Misc Reference Manual

Example

Return the connection status:

Run Example »


Definition and Usage

The connection_status() function returns the current connection status.

Possible values that can be returned:


Syntax

connection_status()

Technical Details

Return Value: Returns the connection status bitfield.
PHP Version: 4+

PHP Misc Reference Manual PHP Misc Reference Manual