1--TEST--
2Sybase-CT connection caching
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  $db1= sybase_connect_ex();
15  $db2= sybase_connect_ex();
16  $db3= sybase_connect_ex(NULL, NULL, $new= TRUE);
17  var_dump($db1, $db2, $db3, (string)$db1 == (string)$db2, (string)$db2 == (string)$db3);
18  sybase_close($db1);
19
20?>
21--EXPECTF--
22resource(%d) of type (sybase-ct link)
23resource(%d) of type (sybase-ct link)
24resource(%d) of type (sybase-ct link)
25bool(true)
26bool(false)
27