prepare v2.2.3
[m6w6/ext-pq] / tests / crash_cur_reverse_dep.phpt
1 --TEST--
2 crash txn reverse dependency from connection
3 --SKIPIF--
4 <?php
5 include "_skipif.inc";
6 if (version_compare(PHP_VERSION, "8.2", ">="))
7 echo "skip PHP_VERSION>=8.2 (dynamic properties deprecated)\n";
8 ?>
9 --FILE--
10 <?php
11 echo "Test\n";
12
13 include "_setup.inc";
14
15 $c = new pq\Connection(PQ_DSN);
16 $c->t = $c->startTransaction();
17
18 ?>
19 ===DONE===
20 --EXPECT--
21 Test
22 ===DONE===