php-src/ext/dba/tests/dba_cdb.phpt
Marcus Boerger efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00

31 lines
621 B
PHP

--TEST--
DBA CDB handler test
--SKIPIF--
<?php
require_once('skipif.inc');
if (!in_array('cdb', dba_handlers())) die('skip CDB handler not available');
die('info CDB does not support replace or delete');
?>
--FILE--
<?php
require_once('test.inc');
$handler = 'cdb';
require_once('dba_handler.inc');
?>
--EXPECT--
database handler: cdb
5YYYYY
Content String 2
array(5) {
["key1"]=>
string(16) "Content String 1"
["key2"]=>
string(16) "Content String 2"
["key3"]=>
string(20) "Third Content String"
["key4"]=>
string(22) "Another Content String"
["key5"]=>
string(23) "The last content string"
}