diff options
author | Timm Friebe <thekid@php.net> | 2008-11-09 10:57:09 +0000 |
---|---|---|
committer | Timm Friebe <thekid@php.net> | 2008-11-09 10:57:09 +0000 |
commit | 66f56393276101be0b92485d3f9873961d413c38 (patch) | |
tree | d2ae5e50855d6f89fcaa767f3de8369168c76f66 /ext/sybase_ct | |
parent | 7dc8109ff3247aae20629a0224d3d17d5d5d0566 (diff) | |
download | php-git-66f56393276101be0b92485d3f9873961d413c38.tar.gz |
- Initial release
Diffstat (limited to 'ext/sybase_ct')
-rw-r--r-- | ext/sybase_ct/tests/test_connection_caching.phpt | 23 |
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) |