pg_prepare

Supported Versions: PHP 5 >= 5.1.0, PHP 7, PHP 8
Submits a request to create a prepared statement with the given parameters, and waits for completion
<?php pg_prepare(PgSql\Connection $connection = ?, string $stmtname, string $query): PgSql\Result|false