xref: /php-src/ext/pdo_firebird/tests/connect.phpt (revision d6a0b3af)
1--TEST--
2PDO_Firebird: connect/disconnect
3--EXTENSIONS--
4pdo_firebird
5--SKIPIF--
6<?php require('skipif.inc'); ?>
7--XLEAK--
8A bug in firebird causes a memory leak when calling `isc_attach_database()`.
9See https://github.com/FirebirdSQL/firebird/issues/7849
10--FILE--
11<?php
12    require("testdb.inc");
13
14    $dbh = getDbConnection();
15    unset($dbh);
16    echo "done\n";
17
18?>
19--EXPECT--
20done
21