pg_escape_identifier

Supported Versions: PHP 5 >= 5.4.4, PHP 7, PHP 8
Escape a identifier for insertion into a text field
<?php pg_escape_identifier(PgSql\Connection $connection = ?, string $data): string