Commit f7af877cfea for php.net
commit f7af877cfea7b51f3842e8a73c3b44f9e232c361
Author: David Carlier <devnexen@gmail.com>
Date: Mon Feb 16 17:55:24 2026 +0000
ext/pgsql: fix GH-21165 unit test.
making it fails early instead.
close GH-21234
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 @@
echo "Warning caught\n";
});
-pg_connect('');
+pg_connect('host=blablahost.');
echo "Done\n";
?>