xref: /PHP-5.5/ext/sybase_ct/tests/test_close.phpt (revision 4b96eea1)
1--TEST--
2Sybase-CT close
3--SKIPIF--
4<?php require('skipif.inc'); ?>
5--FILE--
6<?php
7/* This file is part of PHP test framework for ext/sybase_ct
8 *
9 * $Id$
10 */
11
12  require('test.inc');
13
14  $db= sybase_connect_ex();
15  var_dump($db);
16  sybase_close($db);
17  var_dump($db);
18  var_dump(sybase_query('select getdate()', $db));
19?>
20--EXPECTF--
21resource(%d) of type (sybase-ct link)
22resource(%d) of type (Unknown)
23
24Warning: sybase_query(): %d is not a valid Sybase-Link resource in %s on line %d
25bool(false)
26