Lines Matching refs:db
13 $name = __DIR__ . '/array_keys_basic.db';
15 $db = dba_open($name, 'c', 'inifile');
17 var_dump(dba_insert(['group', 'name'], 'Normal group', $db));
18 var_dump(dba_insert(['group', ''], 'Empty name', $db));
19 var_dump(dba_insert(['', 'name'], 'Empty group', $db));
20 var_dump(dba_insert(['', ''], 'Empty keys', $db));
21 var_dump(dba_fetch(['group', 'name'], $db));
22 var_dump(dba_fetch(['group', ''], $db));
23 var_dump(dba_fetch(['', 'name'], $db));
24 var_dump(dba_fetch(['', ''], $db));
25 dba_close($db);
31 $db_name = __DIR__ . '/array_keys_basic.db';