1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-11-26 20:04:44 +01:00
ext-pq/tests/info001.phpt
Michael Wallner 3024b0b5a9 tests & fixes
2013-02-14 14:54:22 +01:00

24 lines
280 B
PHP

--TEST--
connection info
--SKIPIF--
<?php include "_skipif.inc"; ?>
--FILE--
<?php
echo "Test\n";
include "_setup.inc";
$c = new pq\Connection(PQ_DSN);
printf("%s%s%s%s%s%s\n",
$c->db,
$c->user,
$c->pass,
$c->host,
$c->port,
$c->options
);
?>
DONE
--EXPECTF--
Test
%s
DONE