pg_fetch_assoc

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Fetch a row as an associative array
<?php pg_fetch_assoc(PgSql\Result $result, ?int $row = null): array|false