PHP - Manual: pg_port
2024-11-13
(PHP 4, PHP 5, PHP 7, PHP 8)
pg_port — 返回该连接的端口号
$connection
pg_port() 返回给定的 PostgreSQL connection 资源所连接的端口号。
connection
官方地址:https://www.php.net/manual/en/function.pg-port.php