summaryrefslogtreecommitdiff
path: root/ext/pgsql/tests
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pgsql/tests')
-rw-r--r--ext/pgsql/tests/02connection.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pgsql/tests/02connection.phpt b/ext/pgsql/tests/02connection.phpt
index 6288d0e179..234427ba19 100644
--- a/ext/pgsql/tests/02connection.phpt
+++ b/ext/pgsql/tests/02connection.phpt
@@ -29,7 +29,7 @@ if (function_exists('pg_transaction_status')) {
echo "pg_transaction_status() error\n";
}
}
-if (!pg_host($db))
+if (false === pg_host($db))
{
echo "pg_host() error\n";
}