PHP 8.3.4 Released!

pg_socket

(PHP 5 >= 5.6.0, PHP 7, PHP 8)

pg_socket Get a read only handle to the socket underlying a PostgreSQL connection

Descrição

pg_socket(PgSql\Connection $connection): resource|false

pg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.

Aviso

Esta função não está documentada; apenas a lista de argumentos está disponível.

Parâmetros

connection

Uma instância de PgSql\Connection.

Valor Retornado

A socket resource on success ou false em caso de falha.

Registro de Alterações

Versão Descrição
8.1.0 O parâmetro connection agora espera uma instância de PgSql\Connection; anteriormente, um resource era esperado.
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top