diff --git a/ext/pgsql/tests/02connection.phpt b/ext/pgsql/tests/02connection.phpt index 6288d0e1796..234427ba199 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"; }