1--TEST--
2odbc_autocommit(): Basic test
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);
13
14var_dump(odbc_autocommit($conn, true));
15var_dump(odbc_autocommit($conn, null));
16
17var_dump(odbc_autocommit($conn, false));
18var_dump(odbc_autocommit($conn));
19
20?>
21--EXPECTF--
22bool(true)
23int(1)
24bool(true)
25int(0)
26