ci: update actions to ubuntu 22.04 and recent PHP
[m6w6/ext-pq] / tests / info001.phpt
1 --TEST--
2 connection info
3 --SKIPIF--
4 <?php include "_skipif.inc"; ?>
5 --FILE--
6 <?php
7 echo "Test\n";
8 include "_setup.inc";
9 $c = new pq\Connection(PQ_DSN);
10 printf("%s%s%s%s%s%s\n",
11 $c->db,
12 $c->user,
13 $c->pass,
14 $c->host,
15 $c->port,
16 $c->options
17 );
18 ?>
19 DONE
20 --EXPECTF--
21 Test
22 %s
23 DONE