1
0
mirror of https://github.com/danog/ext-pq.git synced 2024-12-11 17:09:39 +01:00
ext-pq/tests/info001.phpt

24 lines
280 B
Plaintext
Raw Normal View History

2013-02-14 14:54:22 +01:00
--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