projects
/
m6w6
/
ext-pq
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
ci: update actions to ubuntu 22.04 and recent PHP
[m6w6/ext-pq]
/
tests
/
stm_desc001.phpt
1
--TEST--
2
desc statement
3
--SKIPIF--
4
<?php include "_skipif.inc"; ?>
5
--FILE--
6
<?php
7
echo "Test\n";
8
include "_setup.inc";
9
10
$c = new pq\Connection(PQ_DSN);
11
$s = $c->prepare("test1", "SELECT NOW() - \$1");
12
$r = $s->exec(array("2012-12-12 12:12:12"));
13
$d = $s->desc();
14
15
printf("%s\n", (new pq\Types($c))[$d[0]]->typname);
16
17
?>
18
DONE
19
--EXPECT--
20
Test
21
timestamptz
22
DONE