--TEST-- Pdo\Pgsql getWarningCount --EXTENSIONS-- pdo_pgsql --SKIPIF-- --FILE-- escapeIdentifier("This is a quote\"") . "\n"; try { $db->escapeIdentifier("aa\xC3\xC3\xC3"); } catch (PDOException $e) { echo $e->getMessage() . "\n"; } --EXPECTF-- "This is a quote""" SQLSTATE[HY000]: General error: 7 %r(incomplete|invalid)%r multibyte character