(PHP 5 >= 5.6.0, PHP 7, PHP 8)
pg_socket — Get a read only handle to the socket underlying a PostgreSQL connection
pg_socket() returns a read only resource corresponding to the socket underlying the given PostgreSQL connection.
本函數(shù)還未編寫文檔,僅有參數(shù)列表。
connection
An PgSql\Connection instance.
A socket resource on success 或者在失敗時返回 false
.
版本 | 說明 |
---|---|
8.1.0 |
現(xiàn)在 connection 參數(shù)接受 PgSql\Connection
實例,之前接受 資源(resource)。
|