]> granicus.if.org Git - php/commitdiff
- Initial release
authorTimm Friebe <thekid@php.net>
Sun, 9 Nov 2008 10:57:09 +0000 (10:57 +0000)
committerTimm Friebe <thekid@php.net>
Sun, 9 Nov 2008 10:57:09 +0000 (10:57 +0000)
ext/sybase_ct/tests/test_connection_caching.phpt [new file with mode: 0644]

diff --git a/ext/sybase_ct/tests/test_connection_caching.phpt b/ext/sybase_ct/tests/test_connection_caching.phpt
new file mode 100644 (file)
index 0000000..c336306
--- /dev/null
@@ -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)