1--TEST--
2odbc_setoption(): Basic test for odbc_setoption()
3--EXTENSIONS--
4odbc
5--SKIPIF--
6<?php include 'skipif.inc'; ?>
7--FILE--
8<?php
9
10include 'config.inc';
11
12$conn = odbc_connect($dsn, $user, $pass);
13odbc_autocommit($conn, true);
14
15var_dump(odbc_setoption($conn, 1, 102 /* autocommit */, 0));
16
17var_dump(odbc_autocommit($conn));
18
19odbc_close($conn);
20
21?>
22--EXPECT--
23bool(true)
24int(0)
25