summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimm Friebe <thekid@php.net>2008-11-09 10:57:09 +0000
committerTimm Friebe <thekid@php.net>2008-11-09 10:57:09 +0000
commit66f56393276101be0b92485d3f9873961d413c38 (patch)
treed2ae5e50855d6f89fcaa767f3de8369168c76f66
parent7dc8109ff3247aae20629a0224d3d17d5d5d0566 (diff)
downloadphp-git-66f56393276101be0b92485d3f9873961d413c38.tar.gz
- Initial release
-rw-r--r--ext/sybase_ct/tests/test_connection_caching.phpt23
1 files changed, 23 insertions, 0 deletions
diff --git a/ext/sybase_ct/tests/test_connection_caching.phpt b/ext/sybase_ct/tests/test_connection_caching.phpt
new file mode 100644
index 0000000000..c3363066e0
--- /dev/null
+++ b/ext/sybase_ct/tests/test_connection_caching.phpt
@@ -0,0 +1,23 @@
+--TEST--
+Sybase-CT connection caching
+--SKIPIF--
+<?php require('skipif.inc'); ?>
+--FILE--
+<?php
+/* This file is part of PHP test framework for ext/sybase_ct
+ *
+ * $Id$
+ */
+
+ require('test.inc');
+
+ $db1= sybase_connect_ex();
+ $db2= sybase_connect_ex();
+ var_dump($db1, $db2, (string)$db1 == (string)$db2);
+ sybase_close($db1);
+
+?>
+--EXPECTF--
+resource(%d) of type (sybase-ct link)
+resource(%d) of type (sybase-ct link)
+bool(true)