mirror of
https://github.com/php/php-src.git
synced 2024-12-04 07:14:10 +08:00
efd314e767
-Update tests. # cdb and flatfile still FAIL for dba_popen since the known streams problem
31 lines
621 B
PHP
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"
|
|
}
|