SymfonyWorld Online 2022 Winter Edition

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; somente a lista de argumentos está disponível.

Parâmetros

connection

An PgSql\Connection instance.

Valor Retornado

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

Changelog

Versão Descrição
8.1.0 The connection parameter expects an PgSql\Connection instance now; previously, a resource was expected.
add a note

User Contributed Notes

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