xref: /PHP-5.5/ext/sybase_ct/tests/bug6339.phpt (revision 095e82fe)
1--TEST--
2Sybase-CT bug #6339 (invalid Sybase-link resource)
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  // Suppress "Changed database context" warnings
15  sybase_min_server_severity(11);
16  sybase_connect(HOST, USER, PASSWORD);
17  var_dump(sybase_fetch_row(sybase_query('select 1')));
18  sybase_close();
19?>
20--EXPECTF--
21array(1) {
22  [0]=>
23  int(1)
24}
25