PFSOCKOPEN(3) 1 PFSOCKOPEN(3)
pfsockopen - Open persistent Internet or Unix domain socket connection
SYNOPSIS
resource pfsockopen (string $hostname, [int $port = -1], [int &$errno], [string &$errstr], [float $timeout =
ini_get("default_socket_timeout")])
DESCRIPTION
This function behaves exactly as fsockopen(3) with the difference that the connection is not closed after the script finishes. It is the
persistent version of fsockopen(3).
PARAMETERS
For parameter information, see the fsockopen(3) documentation.
SEE ALSO
fsockopen(3).
PHP Documentation Group PFSOCKOPEN(3)