Skip to content

Commit 31c2659

Browse files
committed
Fix GH-12763: PGSQL pg_untrace(): Argument #1 ($connection) must be of type resource or null, PgSql\Connection given.
Add test bugGH12763.phpt
1 parent 630d766 commit 31c2659

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

ext/pgsql/tests/bugGH12763.phpt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
--TEST--
2+
Bug #GH12763 (pg_untrace(): Argument #1 ($connection) must be of type resource or null, PgSql\Connection given)
3+
--EXTENSIONS--
4+
pgsql
5+
--SKIPIF--
6+
<?php include("skipif.inc"); ?>
7+
--FILE--
8+
<?php
9+
include('config.inc');
10+
11+
$conn = pg_connect($conn_str);
12+
13+
pg_untrace($conn);
14+
echo "OK";
15+
16+
?>
17+
--EXPECT--
18+
OK

0 commit comments

Comments
 (0)