From f7af877cfea7b51f3842e8a73c3b44f9e232c361 Mon Sep 17 00:00:00 2001 From: David Carlier Date: Mon, 16 Feb 2026 17:55:24 +0000 Subject: [PATCH] ext/pgsql: fix GH-21165 unit test. making it fails early instead. close GH-21234 --- ext/pgsql/tests/gh21162.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pgsql/tests/gh21162.phpt b/ext/pgsql/tests/gh21162.phpt index 9f40ac1136d..6bdfa429144 100644 --- a/ext/pgsql/tests/gh21162.phpt +++ b/ext/pgsql/tests/gh21162.phpt @@ -9,7 +9,7 @@ set_error_handler(function (int $errno, string $errstr) { echo "Warning caught\n"; }); -pg_connect(''); +pg_connect('host=blablahost.'); echo "Done\n"; ?>