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

Beschreibung

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

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

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

connection

Eine PgSql\Connection-Instanz.

Rückgabewerte

A socket resource on successBei einem Fehler wird false zurückgegeben..

Changelog

Version Beschreibung
8.1.0 Der Parameter connection erwartet nun eine PgSql\Connection-Instanz; vorher wurde eine Ressource erwartet.
add a note

User Contributed Notes

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