Closed
Description
Description
Dollar-quoting is a PostgreSQL way of quoting strings, and "no characters inside a dollar-quoted string are ever escaped" (see the official docs).
pdo_pgsql however sees ? as parameter placeholders (and replaces them with $1, $2, etc., when not emulating prepares which is the default mode).
See attached test case bug14244.phpt
PHP Version
PHP 8.2.1