From: Marcus Boerger Date: Tue, 9 Mar 2004 14:37:49 +0000 (+0000) Subject: Show the connect result X-Git-Tag: php-5.0.0RC1RC1~88 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1651be020acd8b68f7298d5d123eb9982fd2adaa;p=php Show the connect result --- diff --git a/ext/pgsql/tests/02connection.phpt b/ext/pgsql/tests/02connection.phpt index f1258f6df1..4f21fcdf91 100644 --- a/ext/pgsql/tests/02connection.phpt +++ b/ext/pgsql/tests/02connection.phpt @@ -9,6 +9,8 @@ PostgreSQL connection include('config.inc'); $db = pg_pconnect($conn_str); +var_dump($db); + if (pg_connection_status($db) != PGSQL_CONNECTION_OK) { echo "pg_connection_status() error\n"; @@ -44,7 +46,8 @@ if (pg_options($db)) pg_close($db); -echo "OK"; ?> ---EXPECT-- -OK +===DONE=== +--EXPECTF-- +resource(%d) of type (pgsql link%s) +===DONE===